[ckan-changes] [ckan/ckan] 49cc5a: [#1471] Fix dataset deletion authorization for uno...

GitHub noreply at github.com
Fri Jan 31 11:12:10 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 49cc5a96bb00ac0a03445c2ac7b5ad796f32dbad
      https://github.com/ckan/ckan/commit/49cc5a96bb00ac0a03445c2ac7b5ad796f32dbad
  Author: amercader <amercadero at gmail.com>
  Date:   2014-01-29 (Wed, 29 Jan 2014)

  Changed paths:
    M ckan/logic/auth/delete.py

  Log Message:
  -----------
  [#1471] Fix dataset deletion authorization for unowned datasets

We are basically deferring the whole package_delete auth function to
package_update, because deletions are basically changing the state field
of a dataset from 'active' to 'deleted'.


  Commit: 677d80a63fc93bfdab50698ed061e14b45f51a10
      https://github.com/ckan/ckan/commit/677d80a63fc93bfdab50698ed061e14b45f51a10
  Author: amercader <amercadero at gmail.com>
  Date:   2014-01-29 (Wed, 29 Jan 2014)

  Changed paths:
    M ckan/logic/auth/delete.py

  Log Message:
  -----------
  [#1471] Call proper function on package_delete


  Commit: af52ce4740d86d92603d695be8998e93526d22a4
      https://github.com/ckan/ckan/commit/af52ce4740d86d92603d695be8998e93526d22a4
  Author: amercader <amercadero at gmail.com>
  Date:   2014-01-30 (Thu, 30 Jan 2014)

  Changed paths:
    M ckan/tests/functional/test_package.py

  Log Message:
  -----------
  [#1471] Fix old test

Since organizations were implemented, any unowned dataset can be edited
(and thus deleted) by any user.
We will probably improve this in th future using the creator_user_id


  Commit: b7cd0c5db240d428585f696b0780af77dd1d14a1
      https://github.com/ckan/ckan/commit/b7cd0c5db240d428585f696b0780af77dd1d14a1
  Author: kindly <kindly at gmail.com>
  Date:   2014-01-31 (Fri, 31 Jan 2014)

  Changed paths:
    M ckan/lib/mailer.py
    M ckan/logic/validators.py

  Log Message:
  -----------
  Merge branch 'master' into 1471-delete-unowned-datasets


  Commit: 614c1c8761e9ab83b240a70a2725ce8222a76538
      https://github.com/ckan/ckan/commit/614c1c8761e9ab83b240a70a2725ce8222a76538
  Author: kindly <kindly at gmail.com>
  Date:   2014-01-31 (Fri, 31 Jan 2014)

  Changed paths:
    M ckan/logic/auth/delete.py
    M ckan/tests/functional/test_package.py

  Log Message:
  -----------
  Merge branch '1471-delete-unowned-datasets'


Compare: https://github.com/ckan/ckan/compare/866b0b620e24...614c1c8761e9


More information about the ckan-changes mailing list