CompanyRoleRead
object
Reads a Company Role.
Returns a Company Role with the specified ID. Parent field is a set of permissions inherited from another Company Role
Fields
| Name | Type | Description |
|---|---|---|
roleId | Int! | |
code | String | |
name | String | |
description | String | |
admin | Boolean | |
permissions | [CompanyRolePermission!] | |
parent | CompanyRoleRead | |
createdAt | DateTime | |
companyId | Int! | |
updatedAt | DateTime | |
deletable | Boolean | Flags if an item can be deleted If set to true, this item can't be deleted |
isAllowed | RoleAllowsRead! | Resolves the sent permissions. If 'checkAll' is true, all the permissions must be allowed |