[ckan-dev] Announce: Plugin to authorize organization members to create/edit/delete own datasets

Alice Heaton a.heaton at nhm.ac.uk
Mon Jun 16 13:39:51 UTC 2014


Hello,

We have made the first release of the ckanext-userdatasets plugin which modifies the 'member' role such that a user with the 'member' role in an organization can create datasets (or other packages) and edit/delete the datasets they have created (this includes adding/editing/deleting resources for the datasets they have created). Unlike users with the editor role however, they cannot edit/delete datasets created by other users.

WARNING: This plugin changes CKAN's authorization system, which could put your data at risk. This is the first release of the plugin, and it has not been tested in other environments than ours, so you should definitely NOT be using this plugin in a production system.

If you are interested in this functionality then you could help us by doing the following:
- Install the plugin, and run the tests in your environment (ie. with your other plugins loaded). See the github page for running the tests;
- Manually test the plugin in your environment (but not on a production site!);
- Review the code (if you do so you may be interested in this issue: https://github.com/ckan/ckan/issues/1775 )

Report any issue on the GitHub issue queue. Pull requests welcome.

The plugin can be found here:

https://github.com/NaturalHistoryMuseum/ckanext-userdatasets

Best Wishes,
Alice Heaton


More information about the ckan-dev mailing list