[ckan-changes] [okfn/ckan] 60d61d: [#3009] Fix dashboard activity stream auth

GitHub noreply at github.com
Mon Nov 5 16:03:27 UTC 2012


  Branch: refs/heads/3009-on-site-notification-of-new-activity
  Home:   https://github.com/okfn/ckan
  Commit: 60d61d894606345198989bfea20ecc347e116252
      https://github.com/okfn/ckan/commit/60d61d894606345198989bfea20ecc347e116252
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-11-05 (Mon, 05 Nov 2012)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/tests/functional/api/test_activity.py

  Log Message:
  -----------
  [#3009] Fix dashboard activity stream auth

This is necessary groundwork for implementing #3009 (new activity
notifications).

Make dashboard_activity_list() return the dashboard activity stream of
the logged in user, rather than accepting the user id as a param and
letting anyone (even not logged in users) view anyone else's private
activity streams!

Lots of fixing up of test_activity.py to take account of this:





More information about the ckan-changes mailing list