[ckan-dev] Users can't create datasets
Matthew Fullerton
matthew at smartlane.de
Wed May 27 09:35:20 UTC 2015
Are the users members of an organization, and/or does your config require users to be in an organization to create datasets?
-Matt
________________________________________
Von: ckan-dev <ckan-dev-bounces at lists.okfn.org> im Auftrag von Milo Thurston <milo.thurston at oerc.ox.ac.uk>
Gesendet: Mittwoch, 27. Mai 2015 10:51
An: ckan-dev at lists.okfn.org
Betreff: [ckan-dev] Users can't create datasets
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.
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
More information about the ckan-dev
mailing list