diff --git a/ckan/logic/auth/get.py b/ckan/logic/auth/get.py index cc3c20f88fe..a83e2464d4d 100644 --- a/ckan/logic/auth/get.py +++ b/ckan/logic/auth/get.py @@ -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)