diff options
author | zsloan | 2021-02-18 17:31:16 +0000 |
---|---|---|
committer | zsloan | 2021-02-18 17:31:16 +0000 |
commit | 647c927b3417e378f1dc45b572c0311bbc5c74fa (patch) | |
tree | a67abb1f3a26e880beedef46841b435d68006b5c /wqflask/base/trait.py | |
parent | dc48b708fae915aa8484810f7814d0b66e6a87e1 (diff) | |
download | genenetwork2-647c927b3417e378f1dc45b572c0311bbc5c74fa.tar.gz |
Fixed checking permissions in trait.py
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 9b96da85..9e85981f 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -39,7 +39,7 @@ def create_trait(**kw): else: permissions = check_resource_availability(dataset) - if "view" in permissions['data']: + if permissions['data'] != "no-access" the_trait = GeneralTrait(**kw) if the_trait.dataset.type != "Temp": the_trait = retrieve_trait_info( |