[ckan-changes] [okfn/ckan] 198883: [#1210] Add user object to context in controllers

GitHub noreply at github.com
Wed Aug 28 11:16:00 UTC 2013


  Branch: refs/heads/1210-auth-checks-improvements
  Home:   https://github.com/okfn/ckan
  Commit: 1988837c58a54a13871236a81f6ceb7e0a779180
      https://github.com/okfn/ckan/commit/1988837c58a54a13871236a81f6ceb7e0a779180
  Author: amercader <amercadero at gmail.com>
  Date:   2013-08-28 (Wed, 28 Aug 2013)

  Changed paths:
    M ckan/controllers/admin.py
    M ckan/controllers/api.py
    M ckan/controllers/feed.py
    M ckan/controllers/home.py
    M ckan/controllers/package.py
    M ckan/controllers/related.py
    M ckan/controllers/revision.py
    M ckan/controllers/tag.py
    M ckan/controllers/user.py

  Log Message:
  -----------
  [#1210] Add user object to context in controllers

The base controller already checked whether there was a user object in
the db for the user name provided. If we added it to the context we save
the same check on check_access.





More information about the ckan-changes mailing list