[ckan-changes] [okfn/ckan] a3a1f7: [#2784] Hand control of user's sensitive data to u...

GitHub noreply at github.com
Thu Aug 2 13:43:47 UTC 2012


  Branch: refs/heads/release-v1.7.2
  Home:   https://github.com/okfn/ckan
  Commit: a3a1f74b5014017835bf0ff911b0a38fdad8d948
      https://github.com/okfn/ckan/commit/a3a1f74b5014017835bf0ff911b0a38fdad8d948
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/create.py
    M ckan/logic/action/get.py
    M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  [#2784] Hand control of user's sensitive data to user_dictize.

Only a sysadmin or the owner of the account may view a user's apikey
or reset_key.

This does not change behaviour of the actions; just moves the logic
form the actions to the model dictize layer.

Cherry-pick of bd860dc58758356f36518586d1b70e1079700ba2

Conflicts:

	ckan/lib/dictization/model_dictize.py


  Commit: cb42c5e9e2553e36886926efd75b183c85b002a1
      https://github.com/okfn/ckan/commit/cb42c5e9e2553e36886926efd75b183c85b002a1
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/create.py
    M ckan/tests/functional/api/test_user.py

  Log Message:
  -----------
  [#2784] Allow users to see their apikey when creating or updating themselves.

Cherrypick of 7fe6c76a5408e41c5693c7ab4b4217e1547f9da4


  Commit: eceb1ea50f1e1cb3db30f6d785938a903818fff9
      https://github.com/okfn/ckan/commit/eceb1ea50f1e1cb3db30f6d785938a903818fff9
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  [#2784] User email is treated as sensitive data

Cherry-pick of 21ca66c77e9a618cec24709430e73c4409c1ac2c

Conflicts:

	ckan/controllers/user.py


Compare: https://github.com/okfn/ckan/compare/970c9b22b2f7...eceb1ea50f1e


More information about the ckan-changes mailing list