Skip to content

Commit

Permalink
Documentation for member_roles_list
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelbabu committed Mar 25, 2013
1 parent c08955e commit 427b852
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ckan/logic/action/get.py
Expand Up @@ -834,7 +834,7 @@ def _group_or_org_show(context, data_dict, is_org=False):
_check_access('organization_show',context, data_dict)
else:
_check_access('group_show',context, data_dict)


group_dict = model_dictize.group_dictize(group, context)

Expand Down Expand Up @@ -2702,4 +2702,11 @@ def _unpick_search(sort, allowed_fields=None, total=None):


def member_roles_list(context, data_dict):
'''Return the list of roles.
Return the list of roles for use in forms.
:rtype: list of dictionaries
'''
return new_authz.roles_list()

0 comments on commit 427b852

Please sign in to comment.