StaticactionsReturns every action every kind answers, in kind order: save then reset.
the actions
StaticbyReturns one kind by id.
the kind's id
the kind, or null
StaticforReturns which kind answers an action, and whether it is its save or its reset.
the action's name
the kind and verb, or null
StaticlistReturns every kind, in the order the page draws them.
a copy of the list
StaticregisterAdds a kind to the list; a second registration of the same id is ignored.
the kind: its id, label, container, module and the sentences the page draws
StaticresetReturns the name of a kind's reset action, reset-<id>-policy.
the kind
the action
StaticsaveReturns the name of a kind's save action, save-<id>-policy.
the kind
the action
StaticunregisterRemoves a kind, for a test that registered a stub.
the kind's id
The kinds of policy on Directory → Policies: the one list the page, its JSON and the
/admin-api/policiesoperations are drawn from.Each kind is a separate module owning its own entry, container, schema and rules, implementing
password_policy.ts's interface; a future policy costs a module and a row here. A library that registers no route.