Expand description
A tenant’s settings: the fixed list of names a tenant administrator may set, what each may hold, and what each is while unset.
This is the one list of names. The registry keeps a row for each
setting that was set (tenant_setting: tenant, name, value as
Value::text writes it); a name with no row has its default. A row
whose name or value this list does not read is damage, not a default.
The names are masking.<role> for each tenant role (whether the
console masks personal data for a user holding the role; on while
unset), and session.idle_seconds and session.absolute_seconds (how
long a session lasts without a request, and at most), each within the
bounds this file states, with the idle limit never above the absolute
one.
Structs§
- Settings
- Every setting of one tenant.
Enums§
- Name
- The name of a setting.
- Setting
Error - Why a change to the settings was refused.
- Value
- What a setting holds.
Constants§
- ABSOLUTE_
SECONDS - The bounds of
session.absolute_seconds: 5 minutes to 8 hours, which is also what an unset limit is. - IDLE_
SECONDS - The bounds of
session.idle_seconds: one minute to 15 minutes, which is also what an unset limit is.
Functions§
- named
- The names of a change, comma-separated, in the list’s order: what the audit record of the change keeps. It never holds a value.
Type Aliases§
- Change
- One name of a change with the value to store for it, or None to remove its row, which puts the name back to its default.