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
StaticconferredDraws the clients that confer a role, each with a Remove form.
the page's translator
the configured role
the list view the forms carry
the lines as HTML, or nothing when no client confers it
StaticdetailDraws one role's page from its view.
the render context (WebKit.context())
the answer of GET /admin-api/roles?role=
the body as HTML
StaticdynamicDraws a role's dynamic-selection forms: its membership mode and, for a dynamic role, its selection and exclusive group.
the page's translator
the configured role
the list view the forms carry
the forms as HTML, or nothing for a role that cannot be dynamic
StaticeligibilityDraws a dynamic role's Eligibility section.
the page's translator
the role, as the drill-down's answer carries it
the page's answer, eligibility composed in when asked
whether the reader may write
the section as HTML
StaticnewDraws Directory → Roles → New role (#1132) from the answer of
GET /admin-api/roles/new: the one create form, its required fields
called out as New user's are.
the render context (WebKit.context())
the answer, with state after a refused create
the body as HTML
StaticroleDraws a role's Edit fold: its description, display name and member types, posted as describe-role.
the page's translator
the configured role
the list view the form carries
the fold as HTML
StaticroleNames a role's member types for people: "people", "applications".
the role's memberTypes
Optionalt: any
optional; the page's translator
the words
StaticroleDraws one row of the configured roles table: a column per member kind, the permissions, and a Delete form.
A console role's people and groups link to Admin roles instead of carrying Remove buttons, and a console role cannot be deleted.
the configured role
the list view the forms carry
the kinds of member a role has, as the view
carries them (memberKinds)
Optionalt: any
optional; the page's translator. admin.ts calls this
without one, and its words are then the default translator's
the table row as HTML
StaticrolesDraws the hidden "back" field the roles page's forms carry.
the list view to return to, or nothing
a hidden input as HTML
Draws Roles from the answer of
GET /admin-api/roles: who holds each role, what requires one, the forms that change both, a preview of what would be issued, and the settings.A static utility class; it holds no state and takes no dependencies.