Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update docstring in can_manage_service_account
IKarbowiak2df30362ffa9
diff --git a/saleor/graphql/account/utils.py b/saleor/graphql/account/utils.pyindex c72c35149b..91dbeed17b 100644--- a/saleor/graphql/account/utils.py+++ b/saleor/graphql/account/utils.py@@ -205,7 +205,7 @@ def can_user_manage_group(user: "User", group: Group) -> bool:def can_manage_service_account(user: "User", service_account: "ServiceAccount") -> bool:- """User can't manage service account with permission that is out of scope."""+ """User can't manage service account with permission that is out of user's scope."""permissions = service_account.get_permissions()return user.has_perms(permissions)