Subordination cache (subordination_caches)

Description

Based on the current data in the domain — the current group tree, role list, user-to-group assignments, role-to-user and role-to-group assignments, and subordination rules — contains the current full expansion of subordinate users for a specific user.

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

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

Identifier of the superior user or the word 'all'.

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

List of subordinate user identifiers, or a list with the single element ['all'].