Skip to content

Commit

Permalink
[#646] Clean up docstrings for member_roles_list
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelbabu committed Jun 19, 2013
1 parent 2505a6a commit 57eda70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ckan/logic/action/get.py
Expand Up @@ -2730,11 +2730,10 @@ 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.
'''Returns the roles possible for members of groups and organizations.
:returns: the names and titles for roles that are possible for members in
groups and organizations
:rtype: list of dictionaries
'''
return new_authz.roles_list()

0 comments on commit 57eda70

Please sign in to comment.