[ckan-dev] Users can't create datasets

Lynn Greenwood lynn at akvo.org
Thu May 28 14:11:38 UTC 2015


Not sure if this is of any help to you?

http://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-auth-create-dataset-if-not-in-organization <http://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-auth-create-dataset-if-not-in-organization>






> On 27 May 2015, at 11:35, Matthew Fullerton <matthew at smartlane.de> wrote:
> 
> 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
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150528/78886634/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150528/78886634/attachment-0003.sig>


More information about the ckan-dev mailing list