[ckan-changes] [ckan/ckan] b6c548: Do not use the write_url for datastore_search

GitHub noreply at github.com
Thu Aug 6 09:30:21 UTC 2015


  Branch: refs/heads/datastore-auth-fixes
  Home:   https://github.com/ckan/ckan
  Commit: b6c54897b4aa94510bb9cd46db165b5d5a62475b
      https://github.com/ckan/ckan/commit/b6c54897b4aa94510bb9cd46db165b5d5a62475b
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M ckanext/datastore/logic/action.py

  Log Message:
  -----------
  Do not use the write_url for datastore_search

This commit remove the use of the write_url in the datastore_search
action, as the permissions are already checked against the
auth.datastore_search function (which delegates to resource_show).
Looks like the non-removal of write_url in the action method was an
accidental oversight.

Tests (including the privacy tests for TestDatastoreSearch.test_search_private_dataset)
continue to pass.




More information about the ckan-changes mailing list