Skip to content

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

Change required permission for the permission resolver

Marcin Gębala4abfbc76c438
diff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.py
index 7471017b83..7f3caa0aa6 100644
--- a/saleor/graphql/shop/types.py
+++ b/saleor/graphql/shop/types.py
@@ -146,7 +146,7 @@ class Shop(graphene.ObjectType):
return Navigation(
main=site_settings.top_menu, secondary=site_settings.bottom_menu)
- @permission_required('site.manage_settings')
+ @permission_required('account.manage_users')
def resolve_permissions(self, info):
permissions = get_permissions()
return format_permissions_for_display(permissions)