allow users to edit groups but only show there groups, disable other groups to not allow removing them
This commit is contained in:
parent
4dc89c9456
commit
ef0aca6acb
3 changed files with 16 additions and 5 deletions
|
|
@ -863,7 +863,7 @@ def group_json(g):
|
|||
}
|
||||
|
||||
|
||||
@capability_required_json('canManageUsers')
|
||||
@login_required_json
|
||||
def getGroups(request, data):
|
||||
'''
|
||||
takes {}
|
||||
|
|
@ -882,7 +882,7 @@ def getGroups(request, data):
|
|||
actions.register(getGroups)
|
||||
|
||||
|
||||
@capability_required_json('canManageUsers')
|
||||
@login_required_json
|
||||
def getGroup(request, data):
|
||||
'''
|
||||
takes {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue