[ckan-changes] [okfn/ckan] 99a677: Handle the case where the group doesn't exist

GitHub noreply at github.com
Fri Oct 18 14:35:08 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 99a677e952d7272ae4c30d892b5530b205ccba18
      https://github.com/okfn/ckan/commit/99a677e952d7272ae4c30d892b5530b205ccba18
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-10-15 (Tue, 15 Oct 2013)

  Changed paths:
    M ckan/new_authz.py

  Log Message:
  -----------
  Handle the case where the group doesn't exist


  Commit: 1b451fe28a89e9a8239ad0c7dd0fec800d4508dd
      https://github.com/okfn/ckan/commit/1b451fe28a89e9a8239ad0c7dd0fec800d4508dd
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-10-15 (Tue, 15 Oct 2013)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/tests/logic/test_auth.py

  Log Message:
  -----------
  [#1257] Check for permissions against owner_org

Fix tests that were passing because they depended on this breakage.


  Commit: 17ac69c397311a23282a82260215736adc624a70
      https://github.com/okfn/ckan/commit/17ac69c397311a23282a82260215736adc624a70
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-10-16 (Wed, 16 Oct 2013)

  Changed paths:
    A .coveragerc
    M .travis.yml
    M README.rst
    M bin/travis-build
    M ckan/config/environment.py
    M ckan/config/routing.py
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/lib/app_globals.py
    M ckan/lib/authenticator.py
    M ckan/lib/base.py
    M ckan/lib/create_test_data.py
    M ckan/lib/mailer.py
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/get.py
    M ckan/logic/auth/create.py
    M ckan/logic/auth/delete.py
    M ckan/logic/schema.py
    A ckan/migration/versions/071_add_state_column_to_user_table.py
    M ckan/model/follower.py
    M ckan/model/group.py
    M ckan/model/user.py
    M ckan/new_authz.py
    M ckan/public/base/css/fuchsia.css
    M ckan/public/base/css/green.css
    M ckan/public/base/css/main.css
    M ckan/public/base/css/maroon.css
    M ckan/public/base/css/red.css
    M ckan/public/base/javascript/modules/autocomplete.js
    M ckan/public/base/less/forms.less
    M ckan/public/base/less/iehacks.less
    M ckan/public/base/less/module.less
    M ckan/public/base/test/spec/modules/autocomplete.spec.js
    M ckan/templates/development/snippets/facet.html
    M ckan/templates/development/snippets/module.html
    M ckan/templates/group/member_new.html
    M ckan/templates/organization/member_new.html
    M ckan/templates/snippets/facet_list.html
    M ckan/templates/user/edit_user_form.html
    M ckan/templates/user/new_user_form.html
    M ckan/templates/user/read_base.html
    A ckan/templates/user/snippets/recaptcha.html
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_user.py
    A ckan/tests/lib/test_authenticator.py
    M ckan/tests/lib/test_dictization.py
    M ckan/tests/lib/test_mailer.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_auth.py
    A ckan/tests/models/test_follower.py
    M ckan/tests/models/test_user.py
    M dev-requirements.txt

  Log Message:
  -----------
  Merge branch 'master' into 1257-package-create


  Commit: ace4ca9ee1c6cde422d037a3912bec5f345ec9e6
      https://github.com/okfn/ckan/commit/ace4ca9ee1c6cde422d037a3912bec5f345ec9e6
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2013-10-18 (Fri, 18 Oct 2013)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/new_authz.py
    M ckan/tests/logic/test_auth.py

  Log Message:
  -----------
  Merge pull request #1279 from okfn/1257-package-create

Fix package_create auth function to check for owner_org instead of organization_id


Compare: https://github.com/okfn/ckan/compare/5ee2ea17ba02...ace4ca9ee1c6


More information about the ckan-changes mailing list