[ckan-changes] [ckan/ckan] a25bb3: [#1664] package_create+update: fix config permissi...

GitHub noreply at github.com
Wed Jun 25 15:45:33 UTC 2014


  Branch: refs/heads/release-v2.2.1
  Home:   https://github.com/ckan/ckan
  Commit: a25bb3efd8866a27d0374a175465c46d0417048d
      https://github.com/ckan/ckan/commit/a25bb3efd8866a27d0374a175465c46d0417048d
  Author: Ian Ward <ian at excess.org>
  Date:   2014-06-25 (Wed, 25 Jun 2014)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/logic/auth/update.py

  Log Message:
  -----------
  [#1664] package_create+update: fix config permission check

Use the same permission checks for both package_update and package_create
and check all the applicable config options: anon_create_dataset,
create_unowned_dataset and create_dataset_if_not_in_organization


  Commit: 35997c1af4d38c30691f49bccf988cfb900f2414
      https://github.com/ckan/ckan/commit/35997c1af4d38c30691f49bccf988cfb900f2414
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-25 (Wed, 25 Jun 2014)

  Changed paths:
    M ckan/new_tests/helpers.py

  Log Message:
  -----------
  [#1665] Add new_tests.helpers.change_config() decorator

This allows you to temporarily change a CKAN's config value during a test.
It'll restore the values to what they were before, after you test is ran.

Conflicts:
	ckan/new_tests/helpers.py

Conflicts:
	ckan/new_tests/helpers.py


  Commit: 7e3045663d38b34681c9f22c38bfee53a3dbd53e
      https://github.com/ckan/ckan/commit/7e3045663d38b34681c9f22c38bfee53a3dbd53e
  Author: Ian Ward <ian at excess.org>
  Date:   2014-06-25 (Wed, 25 Jun 2014)

  Changed paths:
    M ckan/new_tests/helpers.py

  Log Message:
  -----------
  [#1664] clear auth functions cache when changing config


  Commit: bc3685420201bd6e5a17f38250ea1a36d1a40639
      https://github.com/ckan/ckan/commit/bc3685420201bd6e5a17f38250ea1a36d1a40639
  Author: Ian Ward <ian at excess.org>
  Date:   2014-06-25 (Wed, 25 Jun 2014)

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

  Log Message:
  -----------
  [#1664] tests for anon users


  Commit: f1d7e00894630a54e0be511d3d94079f5007f461
      https://github.com/ckan/ckan/commit/f1d7e00894630a54e0be511d3d94079f5007f461
  Author: Ian Ward <ian at excess.org>
  Date:   2014-06-25 (Wed, 25 Jun 2014)

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

  Log Message:
  -----------
  [#1664] tests for logged in users


  Commit: 87a2c3d3c01ca7035da6399cf6dbc4aaa3f8e8f0
      https://github.com/ckan/ckan/commit/87a2c3d3c01ca7035da6399cf6dbc4aaa3f8e8f0
  Author: Ian Ward <ian at excess.org>
  Date:   2014-06-25 (Wed, 25 Jun 2014)

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

  Log Message:
  -----------
  [#1664] fix tests


Compare: https://github.com/ckan/ckan/compare/c82068980287...87a2c3d3c01c


More information about the ckan-changes mailing list