Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Read config variable for restricting access to issues to certain Roles #32

Open
acorbi opened this issue May 28, 2015 · 0 comments
Open

Comments

@acorbi
Copy link
Contributor

acorbi commented May 28, 2015

Some CKAN instances might want to restrict the access to the Issue information to only certain user roles. Im thinking about scenarios such as:

  • Only ADMIN and EDITOR users within an organization plus the creator of the dataset are allowed to access the Issues information
  • Only ADMIN users within an organization plus the creator of the dataset are allowed to access the Issues information
  • Everyone (even unregistered users) is able to access the Issues information

For this, a new variable could be added to the configuration file (suggestion ckanext.issues.minimun_role_required) which allows to specify the minimum role required for users to access the Issues information both on the Web UI and API. Possible values would be:

  • Member
  • Editor
  • Admin
@acorbi acorbi changed the title Add config var for restricting access to issues Read config variable for restricting access to issues to certain Roles May 29, 2015
acorbi referenced this issue in OpenDevelopmentMekong/ckanext-issues May 29, 2015
acorbi referenced this issue in OpenDevelopmentMekong/ckanext-issues May 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant