Skip to content

Commit

Permalink
[#626] Tweak docstring for am_member param
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond authored and amercader committed Jul 1, 2013
1 parent 340d758 commit a0025d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ckan/logic/action/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,11 @@ def group_list_authz(context, data_dict):
(optional, default: ``False``)
:type available_only: boolean
:param am_member: only show groups user is a member of else sys_admins get all
:type am-am: bool
(optional, default: ``False``)
:param am_member: if True return only the groups the logged-in user is a
member of, otherwise return all groups that the user is authorized to
edit (for example, sysadmin users are authorized to edit all groups)
(optional, default: False)
:type am-member: boolean
:returns: the names of groups that the user is authorized to edit
:rtype: list of strings
Expand Down

0 comments on commit a0025d4

Please sign in to comment.