[ckan-changes] [ckan/ckan] 69c631: [#2846] use 403 or 404 when forbidden, not 401

GitHub noreply at github.com
Tue Jan 26 18:58:29 UTC 2016


  Branch: refs/heads/2846-403-forbidden
  Home:   https://github.com/ckan/ckan
  Commit: 69c6314177c107446550759468ca5ca19c9a88c5
      https://github.com/ckan/ckan/commit/69c6314177c107446550759468ca5ca19c9a88c5
  Author: Ian Ward <ian at excess.org>
  Date:   2016-01-26 (Tue, 26 Jan 2016)

  Changed paths:
    M ckan/config/middleware.py
    M ckan/controllers/admin.py
    M ckan/controllers/group.py
    M ckan/controllers/home.py
    M ckan/controllers/package.py
    M ckan/controllers/revision.py
    M ckan/controllers/tag.py
    M ckan/controllers/user.py
    M ckanext/datapusher/plugin.py

  Log Message:
  -----------
  [#2846] use 403 or 404 when forbidden, not 401


  Commit: a2e96ed0db8357ff0e8965318a5ad95c5d96f695
      https://github.com/ckan/ckan/commit/a2e96ed0db8357ff0e8965318a5ad95c5d96f695
  Author: Ian Ward <ian at excess.org>
  Date:   2016-01-26 (Tue, 26 Jan 2016)

  Changed paths:
    M ckan/tests/controllers/test_admin.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_user.py
    M ckan/tests/legacy/functional/test_admin.py
    M ckan/tests/legacy/functional/test_package.py
    M ckan/tests/legacy/functional/test_user.py

  Log Message:
  -----------
  [#2846] update tests for 403 responses


Compare: https://github.com/ckan/ckan/compare/69c6314177c1^...a2e96ed0db83


More information about the ckan-changes mailing list