StaticattributeDraws the attribute policy section of /admin/policies: enforcement, where the profile comes from, every attribute with its Required box, the people who lack one, the realm's custom attributes and the form that defines one, and the schema.
the policies view from adminViews.policiesView()
the page's translator (#539)
Optionalstate: anythe section as HTML
StaticauthnDraws the authentication policy section of /admin/policies: the mail and NIST warnings, where the profile comes from, the forms, and which mechanisms are accepted as a first and a second factor.
the policies view from adminViews.policiesView()
the page's translator (#539)
the section as HTML
StaticbodyDraws the page's body from its view.
the render context (WebKit.context())
the answer of the page's management API operation
the body as HTML
StaticdraftThe key a New policy form's draft is kept under (#841): the form's, not the typed name's.
the policy kind's id
the key
StaticexportOne policy's Export button (rcbj 2026-11-14): a form posting export
with that one policy as the selection, whose answer is the signed
document as a download.
the policy's kind
its name within the kind
the page's translator (#539)
the form as HTML
StaticfieldStaticgenericDraws the section of /admin/policies for a kind of policy with nothing particular to say: its forms, rules and schema, from its module.
the policies view from adminViews.policiesView()
the policy kind
the page's translator (#539)
Optionalstate: any
optional; the page's state: a named profile form's draft and its application search's results (#609)
the section as HTML
StaticisStaticnamedDraws the named authentication policies of the authentication tab: the list for its Named policies sub-tab and the form for its New policy one.
the authentication policy's member of the policies view
the page's translator (#539)
{ list, add }, each as HTML
StaticnamedDraws a kind's named profiles in two parts: the list of profiles, each with what it selects and its form, and the form that adds one.
GENERIC OVER WHAT THE KIND DECLARES (#1235, rule 3cx): a box per
selector in member.selectors (selectApplications — the locale
policy's, until its applications name it — — the post-login policy's, until its groups name it —
precedence), and, for a tabbed kind, what names each profile
(named.namedBy, the applications, groups and people whose reference
attributes in member.references name it), read-only.
the policy kind
the kind's member of the policies view
the page's translator (#539)
the page's state: policyDrafts and policySaveErrors
by draft key (#841)
{ list, add }, each HTML
StaticnamedDraws a kind's NAMED profiles (#535, the passkey policy): one form per profile with its selectors, and a form to add one. The one that applies to a sign-in is the matching profile with the lowest precedence.
the policy kind
the kind's member of the policies view
the page's translator (#539)
the section as HTML
StaticpasskeyDraws the passkey policy's learned clients (#1112): the switch and its
thresholds, a page of the register — learned first — each with a Clear
form, and Clear all. Each form posts the kind's own act, which the
runtime sends to POST /admin-api/policies/{action}.
passkey.clients of the policies view
the page's translator (#539)
the section as HTML
StaticpasswordDraws the password policy section of /admin/policies: enforcement, the save and reset forms, the current rules, the doors that enforce it, the history cost, the generator and the schema.
the policies view from adminViews.policiesView()
the page's translator (#539)
Optionalstate: any
optional; the page's state: a New policy form's draft and refusal (#841)
the section as HTML
StaticpolicyA checklist of policies, a box per policy named policies whose value is
its { kind, name } as JSON (the selection an operation takes as
policies), and a Select all switch the runtime wires
(data-check-all).
{ kind, name, named?, replaces? } per policy
whether every box starts ticked
the page's translator (#539)
the checklist as HTML
StaticpolicyDraws one field of a policy profile form as a table row: its control, attribute, built-in default and source.
A field the view marks disabled is drawn disabled with its reason.
the field from the policies view
the id prefix of the form (defaults to "pp-")
the page's translator (#539)
the table row as HTML
StaticpolicyStaticpolicyStaticpolicyStatictransferDraws the Export and import tab (#1713): the Export button, the box an export is pasted into, and — once one was checked — who signed it, its chain and the verdict, with the question to trust another realm's signer before anything is written.
the policies view; view.state.transfer holds the last
inspection and the document it was about (WebAnswers.redraw())
the page's translator (#539)
the tab as HTML
StatictransferDraws the tab's account of this realm's own export signer and the
signers it trusts, from GET /admin-api/policies/transfer (composed into
the view as transfer): the algorithm, the paranoid row, the Policy
Export Signing CA with the fingerprint another realm names to trust it,
and the other realms' chains this realm holds for policy-signer. Nothing
when the view carries no transfer.
the transfer view, or undefined
the page's translator (#539)
the section as HTML
Staticwith
Draws Policies from the answer of
GET /admin-api/policies: every kind of policy a realm holds — password, authentication and the others — each profile with its form.A static utility class; it holds no state and takes no dependencies.