Commit 11c086b3 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Mathieu Giraud
Browse files fixed access to results log

Resolved an issue where the permissions for viewing results logs were
checked on the wrong sample set
parent 63efc5b2
......@@ -79,6 +79,8 @@ def info():
sample_set_id = db(( == db.results_file.sequence_file_id)
&( == request.vars["results_file_id"])
&(db.sample_set_membership.sequence_file_id ==
&( == db.sample_set_membership.sample_set_id)
&(db.sample_set.sample_type != 'sequence_file')
if (auth.can_modify_sample_set(sample_set_id)):
return dict(message=T('result info'))
Markdown is supported
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