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

Sean Hammond sean.hammond at okfn.org
Mon Jun 16 20:12:55 UTC 2014


> 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.

Sounds useful!

Have you seen the section in the contrib guide about writing tests for
auth functions? Might help to feel safer about a potentially
"dangerous" plugin like this:

http://docs.ckan.org/en/latest/contributing/testing.html#module-ckan.new_tests.logic.auth

Though I see you already have good tests using your own approach.



More information about the ckan-dev mailing list