From 0e3371c7a578070f6fdb7a24febd41c82598c4a9 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Wed, 10 Jul 2024 10:16:37 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- aleksis/apps/alsijil/schema/extra_marks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleksis/apps/alsijil/schema/extra_marks.py b/aleksis/apps/alsijil/schema/extra_marks.py index 4eb9f0fe1..e506d2db3 100644 --- a/aleksis/apps/alsijil/schema/extra_marks.py +++ b/aleksis/apps/alsijil/schema/extra_marks.py @@ -40,7 +40,7 @@ class ExtraMarkBatchCreateMutation(BaseBatchCreateMutation): @classmethod def check_permissions(cls, root, info, input): # noqa - if info.context.user.has_perm("alsijil.add_extramark_rule"): + if info.context.user.has_perm("alsijil.create_extramark_rule"): return raise PermissionDenied() -- GitLab