diff options
Diffstat (limited to 'gn_auth/auth/authorisation/data')
| -rw-r--r-- | gn_auth/auth/authorisation/data/phenotypes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn_auth/auth/authorisation/data/phenotypes.py b/gn_auth/auth/authorisation/data/phenotypes.py index 08d225d..bc9a6f7 100644 --- a/gn_auth/auth/authorisation/data/phenotypes.py +++ b/gn_auth/auth/authorisation/data/phenotypes.py @@ -102,13 +102,13 @@ def link_phenotype_data( authconn, user.user_id, system_resource(authconn).resource_id, - "system:data:link-to-group") + "(AND system:data:link-to-group)") or authorised_for_spec( authconn, user.user_id, group_resource(authconn, group.group_id).resource_id, - "group:data:link-to-group") + "(AND group:data:link-to-group)") ): raise AuthorisationError( "You do not have sufficient privileges to link data to group " |
