Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2037] Make resource_create auth work against package_update
Right now it was deferring to package_create, which doesn't make much sense. Basically if you can update this particular dataset, you should be able to add a resource to it. Added auth tests. Also fixed the authorization for resource views creation. This is being fully tested on #1852 Conflicts: ckan/logic/auth/create.py ckan/new_tests/logic/auth/test_create.py
- Loading branch information
Showing
1 changed file
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters