[ckan-changes] [okfn/ckan] 4f0c86: Test whether loading the profile works as expected...

GitHub noreply at github.com
Mon Jan 23 15:50:04 UTC 2012


  Branch: refs/heads/feature-1669-publisher-profile
  Home:   https://github.com/okfn/ckan
  Commit: 4f0c86e2a791f9d5a5fd9db2a39e512281f43efc
      https://github.com/okfn/ckan/commit/4f0c86e2a791f9d5a5fd9db2a39e512281f43efc
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-20 (Fri, 20 Jan 2012)

  Changed paths:
    M ckan/new_authz.py
  M ckan/tests/misc/test_auth_profiles.py

  Log Message:
  -----------
  Test whether loading the profile works as expected, are we loading the correct module


  Commit: bacd0b8c56453794ba15cfc4112fae6f01cc8320
      https://github.com/okfn/ckan/commit/bacd0b8c56453794ba15cfc4112fae6f01cc8320
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-20 (Fri, 20 Jan 2012)

  Changed paths:
    M ckan/logic/auth/create.py
  M ckan/logic/auth/publisher/create.py
  M ckan/logic/auth/publisher/delete.py
  M ckan/logic/auth/publisher/get.py

  Log Message:
  -----------
  Imports of helper functions


  Commit: ba417cd2502583a9dcec71282160cff9cc1bde08
      https://github.com/okfn/ckan/commit/ba417cd2502583a9dcec71282160cff9cc1bde08
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M ckan/model/group.py

  Log Message:
  -----------
  Added helper function


  Commit: 69cba2dd68ed75e5df4e59f7b8d0b5486053333a
      https://github.com/okfn/ckan/commit/69cba2dd68ed75e5df4e59f7b8d0b5486053333a
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M ckan/controllers/group.py
  M ckan/logic/auth/publisher/__init__.py
  M ckan/logic/auth/publisher/create.py
  M ckan/logic/auth/publisher/update.py
  M ckan/model/group.py
  M ckan/model/package.py
  M ckan/model/user.py

  Log Message:
  -----------
  Changes to the models that are expected to be 'members' of groups to have get_groups() and first pass at publisher auth profile.

Checks in auth/publisher/update.py use _groups_intersect() to determine whether the user's groups intersect with those of the object being edited, and if so then it allows the flow to continue


  Commit: 0a1aceff0c85cedfdeb1d234cd826899c3c7ca31
      https://github.com/okfn/ckan/commit/0a1aceff0c85cedfdeb1d234cd826899c3c7ca31
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

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

  Log Message:
  -----------
  Fixed syntax problem


  Commit: 24495e5293bc3a90df9bc9a72e9bac42dc975906
      https://github.com/okfn/ckan/commit/24495e5293bc3a90df9bc9a72e9bac42dc975906
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M ckan/logic/auth/publisher/__init__.py
  M ckan/logic/auth/publisher/update.py
  M ckan/model/group.py
  M ckan/model/package.py
  M ckan/model/user.py

  Log Message:
  -----------
  Changes to fix the bad impl of get_groups(). Tests now successfully fail


Compare: https://github.com/okfn/ckan/compare/06bb3dc...24495e5


More information about the ckan-changes mailing list