Skip to main content
Version: 3.x

Group

Represents permission group data.

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

Fields

Group.id ● ID! non-null scalar

The ID of the group.

Group.name ● String! non-null scalar

The name of the group.

Group.users ● [User!] list object

List of group users

Requires MANAGE_STAFFpermission.

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

Returned by

permissionGroup query

Member of

GroupCountableEdge object ● PermissionGroupCreate object ● PermissionGroupCreated object ● PermissionGroupDelete object ● PermissionGroupDeleted object ● PermissionGroupUpdate object ● PermissionGroupUpdated object ● User object ● UserPermission object

Implemented by

_Entity union


Was this page helpful?