aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-05-25 18:58:02 +0300
committerFrederick Muriuki Muriithi2023-05-25 18:58:02 +0300
commited4b39c8fa15291be134f9958e2757d614009172 (patch)
tree4cf3555b51216d24f249fe165333d5383f307219 /wqflask
parent8d983ba698df1915265bb719c104b91d9f84eceb (diff)
downloadgenenetwork2-ed4b39c8fa15291be134f9958e2757d614009172.tar.gz
auth: Show publicly visible traits.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/show_trait.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html
index bc5d75cd..c394af30 100644
--- a/wqflask/wqflask/templates/show_trait.html
+++ b/wqflask/wqflask/templates/show_trait.html
@@ -20,7 +20,7 @@
{% block content %} <!-- Start of body -->
{{flash_me()}}
- {%if "group:resource:view-resource" in trait_privileges%}
+ {%if "group:resource:view-resource" in trait_privileges or "system:resource:public-read" in trait_privileges%}
<div class="container">
<h2>Trait Data and Analysis for <b>{{ this_trait.display_name }}</b></h2>
{% if this_trait.dataset.type != 'Publish' %}