[ckan-changes] [ckan/ckan] 2f9f73: Merge branch '2035-remove-auth-permissions-cache' ...

GitHub noreply at github.com
Wed Nov 12 10:52:02 UTC 2014


  Branch: refs/heads/2037-fix-resource-create-auth
  Home:   https://github.com/ckan/ckan
  Commit: 2f9f7300e91e161525a9b420269a984aa4b61526
      https://github.com/ckan/ckan/commit/2f9f7300e91e161525a9b420269a984aa4b61526
  Author: amercader <amercadero at gmail.com>
  Date:   2014-11-11 (Tue, 11 Nov 2014)

  Changed paths:
    M ckan/new_authz.py
    M ckan/new_tests/helpers.py
    A ckan/new_tests/test_authz.py
    M ckan/tests/functional/api/test_user.py
    M ckan/tests/logic/test_auth.py
    M ckanext/resourceproxy/tests/test_proxy.py

  Log Message:
  -----------
  Merge branch '2035-remove-auth-permissions-cache' into 2037-fix-resource-create-auth


  Commit: 73e3c84fce07e839888328de44e7902f7180c6eb
      https://github.com/ckan/ckan/commit/73e3c84fce07e839888328de44e7902f7180c6eb
  Author: amercader <amercadero at gmail.com>
  Date:   2014-11-12 (Wed, 12 Nov 2014)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/new_tests/logic/auth/test_create.py

  Log Message:
  -----------
  [#2037] Make resource_create auth work against package_update

Right now it was deferring to package_create, which doesn't make much
sense. Basically if you can update this particular dataset, you should
be able to add a resource to it. Added auth tests.

Also fixed the authorization for resource views creation. This is being
fully tested on #1852


  Commit: d730fc919c953eb28dc5c5e89209a7ead1d0001b
      https://github.com/ckan/ckan/commit/d730fc919c953eb28dc5c5e89209a7ead1d0001b
  Author: amercader <amercadero at gmail.com>
  Date:   2014-11-12 (Wed, 12 Nov 2014)

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

  Log Message:
  -----------
  [#2037] Fix logger call to allow warning on tests


Compare: https://github.com/ckan/ckan/compare/2f9f7300e91e^...d730fc919c95


More information about the ckan-changes mailing list