We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6e0f9 commit 9cb2c42Copy full SHA for 9cb2c42
qiita_pet/handlers/artifact_handlers/base_handlers.py
@@ -41,7 +41,7 @@ def check_artifact_access(user, artifact):
41
QiitaHTTPError
42
If the user doesn't have access to the given artifact
43
"""
44
- if user.level in ('admin', 'wetlab admin'):
+ if user.level in ('admin', 'wet-lab admin'):
45
return
46
if artifact.visibility != 'public':
47
study = artifact.study
0 commit comments