Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
8b89484b
Commit
8b89484b
authored
Jun 15, 2016
by
HERBERT Ryan
Browse files
group.py fixed redirect when changing group rights
parent
ddc20e67
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/group.py
View file @
8b89484b
...
...
@@ -173,7 +173,7 @@ def rights():
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
res
=
{
"redirect"
:
"
user
/info"
,
res
=
{
"redirect"
:
"
group
/info"
,
"args"
:
{
"id"
:
group_id
},
"message"
:
msg
}
log
.
admin
(
res
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment