Skip to main content
Version: 3.x

PermissionGroupUpdateInput

No description

input PermissionGroupUpdateInput {
addPermissions: [PermissionEnum!]
addUsers: [ID!]
addChannels: [ID!]
name: String
removePermissions: [PermissionEnum!]
removeUsers: [ID!]
removeChannels: [ID!]
restrictedAccessToChannels: Boolean
}

Fields

PermissionGroupUpdateInput.addPermissions ● [PermissionEnum!] list enum

List of permission code names to assign to this group.

PermissionGroupUpdateInput.addUsers ● [ID!] list scalar

List of users to assign to this group.

PermissionGroupUpdateInput.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.

PermissionGroupUpdateInput.name ● String scalar

Group name.

PermissionGroupUpdateInput.removePermissions ● [PermissionEnum!] list enum

List of permission code names to unassign from this group.

PermissionGroupUpdateInput.removeUsers ● [ID!] list scalar

List of users to unassign from this group.

PermissionGroupUpdateInput.removeChannels ● [ID!] list scalar

List of channels to unassign from this group.

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

PermissionGroupUpdateInput.restrictedAccessToChannels ● Boolean scalar

Determine if the group has restricted access to channels.

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

Member of

permissionGroupUpdate mutation


Was this page helpful?