Commit 1c79b600 authored by marc duez's avatar marc duez save_analysis() > handle save permission for custom file client side

parent 11422168
Pipeline #239553 passed with stages
in 46 minutes and 48 seconds
......@@ -510,9 +510,7 @@ def save_analysis():
if "run" in request.vars :
request.vars["sample_set_id"] =[request.vars["run"]].sample_set_id
if not "sample_set_id" in request.vars :
error += "It is currently not possible to save an analysis on a comparison of samples, "
elif not auth.can_save_sample_set(request.vars['sample_set_id']) :
if not auth.can_save_sample_set(request.vars['sample_set_id']) :
error += "you do not have permission to save changes on this sample set"
if error == "" :
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