From 579358cb130d2c51457f806d32cbb851850b1442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Livia=20K=C3=BCnzli?= Date: Wed, 7 May 2025 10:51:35 +0200 Subject: [PATCH] Fixed typo in permissions.md --- extending/permissions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extending/permissions.md b/extending/permissions.md index 61906f5..38d9808 100644 --- a/extending/permissions.md +++ b/extending/permissions.md @@ -49,7 +49,7 @@ If your permissions depend on the content of the mutation, you can access those ```python class CustomPermission(BasePermission): @permission_for(SaveTextQuestionInput) - def hsa_question_save_permission(self, mutation, info): + def has_question_save_permission(self, mutation, info): params = mutation.get_params(info) # hypothetical permission: disallow saving # questions whose label contains the word "blah"