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

GitHub noreply at github.com
Thu Mar 14 17:08:50 UTC 2013


  Branch: refs/heads/master
  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


  Commit: 80d36dee6e765cafffbc03945da8ee4b0bbbd3b5
      https://github.com/okfn/ckan/commit/80d36dee6e765cafffbc03945da8ee4b0bbbd3b5
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-03-14 (Thu, 14 Mar 2013)

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

  Log Message:
  -----------
  Merge pull request #545 from okfn/369-update-package-read-issue

[#369] updating packages to deleted state had permission issues [for 2.0]


Compare: https://github.com/okfn/ckan/compare/c5bdae7dd150...80d36dee6e76


More information about the ckan-changes mailing list