Skip to main content

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 users

List of permission code names to assign to this group.

PermissionGroupUpdateInput.addUsers ● [ID!] list scalar miscellaneous

List of users to assign to this group.

PermissionGroupUpdateInput.addChannels ● [ID!] list scalar miscellaneous

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 miscellaneous

Group name.

PermissionGroupUpdateInput.removePermissions ● [PermissionEnum!] list enum users

List of permission code names to unassign from this group.

PermissionGroupUpdateInput.removeUsers ● [ID!] list scalar miscellaneous

List of users to unassign from this group.

PermissionGroupUpdateInput.removeChannels ● [ID!] list scalar miscellaneous

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 miscellaneous

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