[ckan-changes] [ckan/ckan] 31750b: * user_show now returns draft and private datasets...

GitHub noreply at github.com
Thu Jan 29 20:37:39 UTC 2015


  Branch: refs/heads/2216-user-show-fix
  Home:   https://github.com/ckan/ckan
  Commit: 31750bf89d2426ae071790f59014d6ecd1026b0d
      https://github.com/ckan/ckan/commit/31750bf89d2426ae071790f59014d6ecd1026b0d
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/new_tests/logic/action/test_get.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  * user_show now returns draft and private datasets if asked by the same
  user as is being viewed, or a sysadmin.
* Standardize number_created_packages to mean excluding private datasets
  (changes behaviour in user_list)
* Improved docs and new_tests for user_list and user_show


  Commit: cc4aa68a5a48fa03761c2e61b4fc4c42878ff6dd
      https://github.com/ckan/ckan/commit/cc4aa68a5a48fa03761c2e61b4fc4c42878ff6dd
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/get.py
    M ckan/model/user.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  [#2216] number_created_packages includes draft and private when viewed by the user or sysadmin.


Compare: https://github.com/ckan/ckan/compare/31750bf89d24^...cc4aa68a5a48


More information about the ckan-changes mailing list