[ckan-changes] [ckan/ckan] 4e1637: [#1665] Fix bug where we wouldn't get the group li...

GitHub noreply at github.com
Thu May 1 19:31:13 UTC 2014


  Branch: refs/heads/1665-group-auth-for-any-logged-in-user
  Home:   https://github.com/ckan/ckan
  Commit: 4e1637118df073bb98d24bada2f7fbd5dce4a0c7
      https://github.com/ckan/ckan/commit/4e1637118df073bb98d24bada2f7fbd5dce4a0c7
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-05-01 (Thu, 01 May 2014)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  [#1665] Fix bug where we wouldn't get the group list even though we were authorized

The problem was that we checked if there were roles with 'manage_group'
permission and returned an empty list if there weren't, even if the user
calling was a sysadmin (that didn't need a role with 'manage_group'
permission).




More information about the ckan-changes mailing list