Skip to main content

permissionGroups

Requires an authenticated session.

Lists the permission groups, each with the grantable permissions of its module, for building a permission picker.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query PermissionGroups {
permissionGroups {
displayName
description
icon
module
sortOrder
resources {
count
resource
}
}
}

Response:

{
"data": {
"permissionGroups": [
{
"displayName": "string",
"description": "string",
"icon": "string",
"module": "string",
"sortOrder": 0,
"resources": [
{
"count": 0,
"resource": "string"
}
]
}
]
}
}
permissionGroups: [PermissionGroup!]!

Type​

PermissionGroup object​

A group of permissions for one module.