Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
7eeb2f37
Commit
7eeb2f37
authored
Sep 10, 2014
by
Marc Duez
Browse files
server : debug run permission
parent
f86cd651
Changes
1
Show whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/views/patient/info.html
View file @
7eeb2f37
...
...
@@ -122,7 +122,7 @@ query = db(
<td>
{{if filename != '' and config_id != -1:}}
{{if row.data_file.id == None or ( status != "RUNNING" and status != "QUEUED" and status != "ASSIGNED"):}}
{{if auth.has_permission("
upload", "sequence
_file") :}}
{{if auth.has_permission("
run", "data
_file") :}}
<span
class=
"button"
onclick=
"db.call('default/run_request', { 'sequence_file_id' : '{{=row.sequence_file.id}}', 'config_id' : {{=config_id}} } )"
>
run >>
</span>
{{else:}}
<span
class=
"button inactive"
title=
"you don't have permission to schedule runs"
>
run >>
</span>
...
...
Write
Preview
Markdown
is supported
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