Skip to content

Commit

Permalink
Add a couple of FIXMEs that should be done after 2939-orgs is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Nov 20, 2012
1 parent 0326af3 commit 9c5f314
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckan/logic/auth/get.py
Expand Up @@ -200,10 +200,14 @@ def dashboard_activity_list(context, data_dict):


def dashboard_new_activities_count(context, data_dict):
# FIXME: This should go through check_access() not call is_authorized()
# directly, but wait until 2939-orgs is merged before fixing this.
return ckan.new_authz.is_authorized('dashboard_activity_list',
context, data_dict)


def dashboard_mark_all_new_activities_as_old(context, data_dict):
# FIXME: This should go through check_access() not call is_authorized()
# directly, but wait until 2939-orgs is merged before fixing this.
return ckan.new_authz.is_authorized('dashboard_activity_list',
context, data_dict)

0 comments on commit 9c5f314

Please sign in to comment.