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
020c2880
Commit
020c2880
authored
Jun 15, 2016
by
HERBERT Ryan
Browse files
group/info.html anon permission can be given from view
parent
ab42e9b7
Changes
1
Show whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/views/group/info.html
View file @
020c2880
...
...
@@ -33,6 +33,9 @@ query = db(
run vidjil
<input
type=
"checkbox"
name=
"sample_set"
onclick=
"db.group_rights(this.checked, this.name, 'run', {{=group.id}});"
{{
if
auth.has_permission
('
run
',
'
sample_set
',
group_id=
group.id)
:
}}{{="
checked
"}}{{
pass
}}
>
real info
<input
type=
"checkbox"
name=
"sample_set"
onclick=
"db.group_rights(this.checked, this.name, 'anon', {{=group.id}});"
{{
if
auth.has_permission
('
anon
',
'
sample_set
',
group_id=
group.id)
:
}}{{="
checked
"}}{{
pass
}}
>
</br>
<!--create config <input type="checkbox" name="config" onclick="db.test(this.checked, this.name, {{request.vars["id"]}});"></br>-->
</div>
...
...
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