Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update docstring in can_manage_service_account

IKarbowiak2df30362ffa9
diff --git a/saleor/graphql/account/utils.py b/saleor/graphql/account/utils.py
index 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)