[ckan-changes] [ckan/ckan] 45fd1c: Allows datastore_search_sql on private datasets

GitHub noreply at github.com
Thu Aug 6 09:51:20 UTC 2015


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

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

  Log Message:
  -----------
  Allows datastore_search_sql on private datasets

Moves the auth check for datastore_search_sql to the db module
where a list of the resource tables involved in the query is
available.  This should allow users to query across resources
that they have access to whether they are public or private.




More information about the ckan-changes mailing list