Skip to main content

Group

Represents permission group data.

type Group implements Node {
id: ID!
name: String!
permissions: [Permission!]
userCanManage: Boolean!
accessibleChannels: [Channel!]
restrictedAccessToChannels: Boolean!
}

Fields

Group.id ● ID! non-null scalar

Group.name ● String! non-null scalar

Group.permissions ● [Permission!] list object

List of group permissions

Group.userCanManage ● Boolean! non-null scalar

True, if the currently authenticated user has rights to manage a group.

Group.accessibleChannels ● [Channel!] list object

List of channels the group has access to.

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

Group.restrictedAccessToChannels ● Boolean! non-null scalar

Determine if the group have 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.

Interfaces

Node interface

An object with an ID

Member of

User object ● UserPermission object

Implemented by

_Entity union


Was this page helpful?