Skip to main content

Role

No description

type Role {
id: ID!
name: String
isDefault: Boolean
createdAt: String!
updatedAt: String!
permissions: [String]
users: [User]
}

Fields

Role.id ● ID! non-null scalar

Role ID

Role.name ● String scalar

Role name

Role.isDefault ● Boolean scalar

Check if this is the default role

Role.createdAt ● String! non-null scalar

Role creation date

Role.updatedAt ● String! non-null scalar

Role last update date

Role.permissions ● [String] list scalar

Role permissions

Role.users ● [User] list object

Users with this role

Member of

CollectionItem_Role object