allow users to edit groups but only show there groups, disable other groups to not allow removing them

This commit is contained in:
j 2014-10-15 09:34:27 +00:00
commit ef0aca6acb
3 changed files with 16 additions and 5 deletions

View file

@ -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 {