diff options
Diffstat (limited to 'wqflask')
-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( |