[ckan-changes] [ckan/ckan] c75a2f: [#2457] Fix permission check on organization_list_...

GitHub noreply at github.com
Thu Jun 4 12:50:43 UTC 2015


  Branch: refs/heads/2457-fix-org-list-for-user
  Home:   https://github.com/ckan/ckan
  Commit: c75a2f8b2ef5d29ca3da3b5e25a2a89ab69b0220
      https://github.com/ckan/ckan/commit/c75a2f8b2ef5d29ca3da3b5e25a2a89ab69b0220
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-04 (Thu, 04 Jun 2015)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#2457] Fix permission check on organization_list_for_user

It was using `edit_group`, which does not exist, effectively meaning
that only amdinorgs were returned. Changed to `admin` to be consistent
with existing roles.


  Commit: bb432cb16e2bfae8b6693995e3ac493a1e870e73
      https://github.com/ckan/ckan/commit/bb432cb16e2bfae8b6693995e3ac493a1e870e73
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-04 (Thu, 04 Jun 2015)

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

  Log Message:
  -----------
  [#2457] Return capacity on organization_list_for_user

Add a new key on each organization with the role the user has on it


  Commit: cbf8dc6b00682cdb6440a34f53f30aad87070cc6
      https://github.com/ckan/ckan/commit/cbf8dc6b00682cdb6440a34f53f30aad87070cc6
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-04 (Thu, 04 Jun 2015)

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

  Log Message:
  -----------
  [#2457] Allow to provide an id to organization_list_for_user


  Commit: 07df7bf55948b6a154c6a45c247433c119f34cbf
      https://github.com/ckan/ckan/commit/07df7bf55948b6a154c6a45c247433c119f34cbf
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-04 (Thu, 04 Jun 2015)

  Changed paths:
    M ckan/templates/user/dashboard_organizations.html

  Log Message:
  -----------
  [#2457] Show all user's orgs in dashboard


  Commit: 71d47b32774273a2235fd7e5ba061c6d7ae921ce
      https://github.com/ckan/ckan/commit/71d47b32774273a2235fd7e5ba061c6d7ae921ce
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-04 (Thu, 04 Jun 2015)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/organization/snippets/organization_item.html
    M ckan/templates/organization/snippets/organization_list.html
    M ckan/templates/user/dashboard_organizations.html

  Log Message:
  -----------
  [#2457] Show user's role on each org on dashboard


Compare: https://github.com/ckan/ckan/compare/c75a2f8b2ef5^...71d47b327742


More information about the ckan-changes mailing list