aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/decorators.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/decorators.py')
-rw-r--r--gn2/wqflask/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/decorators.py b/gn2/wqflask/decorators.py
index 848f03ec..e4fb31ff 100644
--- a/gn2/wqflask/decorators.py
+++ b/gn2/wqflask/decorators.py
@@ -62,7 +62,7 @@ class AuthorisationError(Exception):
self.user = user
super().__init__(self, description, user)
-def required_access(access_levels: tuple[str, ...],
+def required_trait_access(access_levels: tuple[str, ...],
dataset_key: str = "dataset_name",
trait_key: str = "name") -> Callable:
def __build_access_checker__(func: Callable):