Skip to main content
objectPermission

Fields

description
String!

What the permission allows.

id
String!

Raw id of the permission. Mutations take key instead.

key
String!

Key of the permission (e.g. read:sources, write:users). Keys of the form <app>:read:app (e.g. studio:read:app) give access to an Occtoo app and are the only ones you can grant directly.

name
String!

Readable name of the permission.

roles
[Role!]!

Roles that give the user this permission; only their id and key are filled. Empty when the permission is granted directly (see updateUserPermissions).