Commit 8b89484b authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

group.py fixed redirect when changing group rights

parent ddc20e67
...@@ -173,7 +173,7 @@ def rights(): ...@@ -173,7 +173,7 @@ def rights():
auth.del_permission(group_id, request.vars["right"], request.vars["name"], 0) auth.del_permission(group_id, request.vars["right"], request.vars["name"], 0)
msg += "remove '" + request.vars["right"] + "' permission on '" + request.vars["name"] + "' for group " + db.auth_group[group_id].role msg += "remove '" + request.vars["right"] + "' permission on '" + request.vars["name"] + "' for group " + db.auth_group[group_id].role
res = { "redirect": "user/info", res = { "redirect": "group/info",
"args" : {"id" : group_id }, "args" : {"id" : group_id },
"message": msg} "message": msg}
log.admin(res) log.admin(res)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment