[ckan-dev] Users can't create datasets

Milo Thurston milo.thurston at oerc.ox.ac.uk
Wed May 27 08:51:50 UTC 2015


Some of our CKAN installations are not allowing non-admin users to create datasets. Visiting /dataset/new gives the error "Unauthorized to create a package”. 
Admin users can create datasets, though.

The error is clearly being raised in check_access (ckan/logic/__init__.py), which according to the notes there should be checking the user’s ID in the database to see if they are authorised. But, should it not be possible for all logged in users to create datasets? Can anyone suggest what is going on here?

N.B. In case it is a matter of there not being the correct settings in the database I’ve cried to clean and init it, but without success.


More information about the ckan-dev mailing list