[ckan-changes] [okfn/ckan] 0c0f19: [#369] updating packages to deleted state had perm...

GitHub noreply at github.com
Wed Mar 20 12:47:24 UTC 2013


  Branch: refs/heads/release-v2.0
  Home:   https://github.com/okfn/ckan
  Commit: 0c0f19f9353c5da86415b83a8fa575f778b457d2
      https://github.com/okfn/ckan/commit/0c0f19f9353c5da86415b83a8fa575f778b457d2
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-19 (Tue, 19 Mar 2013)

  Changed paths:
    M ckan/logic/action/update.py

  Log Message:
  -----------
  [#369] updating packages to deleted state had permission issues

This causes the v1/2 REST package update API to fail with access denied
because after successfully updating the package, the user no longer has
permission to read it to generate the dict-like response.

Just allow us to read the updated packeage





More information about the ckan-changes mailing list