Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

UserPermission Object

Represents user’s permissions.

type UserPermission {
  code: PermissionEnum!
  name: String!
  sourcePermissionGroups(userId: ID!): [Group!]
}

Fields

code

code · PermissionEnum!

Internal code for permission.

name

name · String!

Describe action(s) allowed to do by permission.

sourcePermissionGroups

sourcePermissionGroups · [Group!]

List of user permission groups which contains this permission.

userId

userId · ID!

ID of user whose groups should be returned.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?