User group cache set (group_caches)

Description

Based on the current data in the domain and the current group tree, contains the current full expansion of nested users, groups, and roles, as well as parent groups, for a specific group.

Not stored in the DB; built after the domain is loaded and automatically updated in lazy mode 5 seconds after every significant change in the composition and properties of roles, users, or groups.

Fields

Entity structure
{
  "id": uuid,
  "direct_parents": array<uuid>,
  "direct_children": array<uuid>,
  "direct_users": array<uuid>,
  "direct_roles": array<str>,
  "deep_parents": array<uuid>,
  "deep_children": array<uuid>,
  "deep_users": array<uuid>,
  "deep_roles": array<str>
}
Table 1. Fields
Specification Description

Field: id
Mode: out
Type: uuid
Default: generated

Identifier. Matches the user group identifier.

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

List of groups that directly include this group. Identifiers

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

List of groups directly included in this group. Identifiers

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

List of users directly belonging to this group. Identifiers.

Field: direct_roles
Mode: out
Type: array<str>
Default: — 

List of roles directly assigned to this group. Name codes.

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

List of groups that include this group at any nesting level. Identifiers

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

List of groups included in this group at any nesting level. Identifiers

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

List of users belonging to this group at any nesting level. Identifiers.

Field: deep_roles
Mode: out
Type: array<str>
Default: — 

List of roles assigned to this group at any nesting level. Name codes.