[ckan-changes] [ckan/ckan] 73b124: [#1652] Fix auth when creating a DataStore resourc...
GitHub
noreply at github.com
Thu Apr 17 16:38:43 UTC 2014
Branch: refs/heads/1652-datastore-resources-auth
Home: https://github.com/ckan/ckan
Commit: 73b1242d1c7f3f6d7956b2e598136bac67b299ba
https://github.com/ckan/ckan/commit/73b1242d1c7f3f6d7956b2e598136bac67b299ba
Author: amercader <amercadero at gmail.com>
Date: 2014-04-17 (Thu, 17 Apr 2014)
Changed paths:
M ckanext/datastore/logic/auth.py
M ckanext/datastore/tests/test_create.py
Log Message:
-----------
[#1652] Fix auth when creating a DataStore resource directly
If you provided a dataset id on datastore_create to create the resource
directly, the auth functions failed as they expected a resource. This
changes the datastore_create auth function to use package_update instead
of resource_update if that is the case.
More information about the ckan-changes
mailing list