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

GitHub noreply at github.com
Mon Mar 4 09:59:26 UTC 2013


  Branch: refs/heads/369-update-package-read-issue
  Home:   https://github.com/okfn/ckan
  Commit: 0d67c12e1e2d95c14aa9d98c153027b846d0657d
      https://github.com/okfn/ckan/commit/0d67c12e1e2d95c14aa9d98c153027b846d0657d
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-04 (Mon, 04 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