[ckan-changes] [ckan/ckan] 12f646: [#1487] Fix auhtorization in datapusher_hook

GitHub noreply at github.com
Mon Feb 3 12:41:49 UTC 2014


  Branch: refs/heads/1487-error-datapusher_hook-auth
  Home:   https://github.com/ckan/ckan
  Commit: 12f646f4959ab0a727318aba94b9502a87cc794a
      https://github.com/ckan/ckan/commit/12f646f4959ab0a727318aba94b9502a87cc794a
  Author: amercader <amercadero at gmail.com>
  Date:   2014-02-03 (Mon, 03 Feb 2014)

  Changed paths:
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test.py

  Log Message:
  -----------
  [#1487] Fix auhtorization in datapusher_hook

We were passing data_dict to the auth function, which didn't contain the
necessary resource_id to perform the auth checks later on. Sadly #1488
was hiding this and the auth check passed or failed randomly




More information about the ckan-changes mailing list