Subordination cache (subordination_caches)

Table of Contents

Description

Based on the current data in the domain: current group tree, list of roles, assignments of users to groups, assignments of roles to users and groups, as well as based on subordination rules, contains for a particular user the current full rollout of subordinate users.

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
{
  "top": str,
  "sub": str
}
Table 1. Fields
Specification Description

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

The ID of the superior user or the word 'all'.

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

List of subordinate user IDs, or a list of a single item ['all'].