Set of user role caches (role_caches)

Table of Contents

Description

Based on the current data in the domain and the current group tree, contains for a specific role the current full rollout of users and groups to whom it is assigned.

It is not stored in the database, it is lined up after domain boot and is automatically updated in lazy mode in 5 seconds after every significant change in the composition and properties of roles, users, groups.

Fields

Entity structure
{
  "name": str,
  "direct_groups": array<uuid>,
  "direct_users": array<uuid>,
  "deep_groups": array<uuid>,
  "deep_users": array<uuid>
}
Table 1. Fields
Specification Description

Field: name
Mode: out
Type: str
Default: — 

Title. Corresponds to the code name of the user role.

Field: direct_groups
Mode: out
Type: array<uuid>
Default: — 

List of groups to which this role is directly assigned. Identifiers

Field: direct_users
Mode: out
Type: array<uuid>
Default: — 

List of users to whom this role is directly assigned. Identifiers.

Field: deep_groups
Mode: out
Type: array<uuid>
Default: — 

List of groups to which this role is assigned at any nesting level. Identifiers

Field: deep_users
Mode: out
Type: array<uuid>
Default: — 

List of users to whom this role is assigned at any nesting level. Identifiers.