privilege.roles¶
Get all available roles.
Each entry contains the following keys:
name - the internal name of the role
includes - list of other roles that this role includes. When user is granted this role, they will also receive permissions granted by all the included roles.
builtin - role exists for internal backend purposes for access control.
No Additional Items
Tuple Validation
Parameter 1: filters
filters
Type: array Default: []No Additional Items
Each item of this array must be:
Parameter 2: options
options
Type: objectNo Additional Properties
Relationships
Type: boolean Default: trueExtend
Default: nullExtend Context
Default: nullPrefix
Default: nullExtra
Type: object Default: {}Order By
Type: array of string Default: []No Additional Items
Each item of this array must be:
Select
Type: array Default: []No Additional Items
Each item of this array must be:
No Additional Items
Each item of this array must be:
Count
Type: boolean Default: falseGet
Type: boolean Default: falseOffset
Type: integer Default: 0Limit
Type: integer Default: 0Force Sql Filters
Type: boolean Default: falseResult
No Additional Items
Each item of this array must be:
PrivilegeRolesQueryResultItem
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Title
Type: stringMust be at least 1
characters long
Includes
Type: array of stringNo Additional Items
Each item of this array must be:
Must be at least 1
characters long
Builtin
Type: booleanSTIGType
Type: enum (of integer)Currently we are only attempting to meet a single STIG (General Purpose
Operating System). This enum is defined so that we have capability
to expand if we decide to apply more specific STIGs to different areas
of our product
Must be one of:
- 0
- 1
PrivilegeRolesQueryResultItem
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Title
Type: stringMust be at least 1
characters long
Includes
Type: array of stringNo Additional Items
Each item of this array must be:
Must be at least 1
characters long
Builtin
Type: booleanRequired roles: