Skip to main content
Version: 3.x

PermissionGroupCreateInput

No description

input PermissionGroupCreateInput {
addPermissions: [PermissionEnum!]
addUsers: [ID!]
addChannels: [ID!]
name: String!
restrictedAccessToChannels: Boolean
}

Fields

PermissionGroupCreateInput.addPermissions ● [PermissionEnum!] list enum

List of permission code names to assign to this group.

PermissionGroupCreateInput.addUsers ● [ID!] list scalar

List of users to assign to this group.

PermissionGroupCreateInput.addChannels ● [ID!] list scalar

List of channels to assign to this group.

Added in Saleor 3.14
This API is currently in Feature Preview and can be subject to changes at later point.

PermissionGroupCreateInput.name ● String! non-null scalar

Group name.

PermissionGroupCreateInput.restrictedAccessToChannels ● Boolean scalar

Determine if the group has restricted access to channels. DEFAULT: False

Added in Saleor 3.14
This API is currently in Feature Preview and can be subject to changes at later point.

Member of

permissionGroupCreate mutation


Was this page helpful?