Commit 1a06d7ef authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'hotfix-s/3138-fix-permission-issue-sample-set' into 'prod-server'

Correction de la gestion des permissions sur sample_set/all

See merge request !178
parents 8ac858b5 49a28a1d
Pipeline #21402 failed with stages
in 28 seconds
......@@ -51,7 +51,7 @@ class SampleSetList():
self.elements[key.id].most_used_conf = ""
self.elements[key.id].groups = ""
self.elements[key.id].group_list = []
self.elements[key.id].has_permission = auth.can_modify(type, key.id)
self.elements[key.id].has_permission = auth.can_modify_sample_set(key.sample_set_id)
self.elements[key.id].anon_allowed = auth.can_view_info(type, key.id)
self.element_ids = self.elements.keys()
......
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