Skip to content

Commit

Permalink
Merge pull request #1153 from okfn/1152-member-roles-list-check-access
Browse files Browse the repository at this point in the history
[#1152] Call check_access in member_roles_list
  • Loading branch information
johnglover committed Aug 7, 2013
2 parents 7f80d98 + 38f4337 commit 7085138
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/logic/action/get.py
Expand Up @@ -2825,4 +2825,5 @@ def member_roles_list(context, data_dict):
:rtype: list of dictionaries
'''
_check_access('member_roles_list', context, data_dict)
return new_authz.roles_list()

0 comments on commit 7085138

Please sign in to comment.