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
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.