Expand description
/ui/operators — every operator this process has, and acting on one
other than the caller.
crate::webadmin::handlers::operators’s page twin, the handlers/pages
split every other resource in this tree follows: both call the same
crates/admin/src/admin/ operations, this one renders HTML. Managing yourself stays on
/ui/account, which is why GET /ui/operators/{username} redirects there
the moment username resolves to the caller rather than rendering a
half-disabled copy of this page’s own template.
Structs§
- Operator
Contact Form - The contact form on the operator card: the address, plus the step-up
password
hx-includepulls in. A blank address clears it. - Operator
Role Form - The role form on the operator card.
- Step
UpForm - The
/uitwin ofcrate::webadmin::handlers::mfa::StepUpRequest— the password a form field collects, pulled in byhx-include, theaccount::StepUpFormprecedent.
Functions§
- disable_
operator POST /ui/operators/{username}/disable- enable_
operator POST /ui/operators/{username}/enable- get_
operator GET /ui/operators/{username}— redirects to/ui/accountwhenusernameis the caller.- list_
operators GET /ui/operators?limit=&offset=- reset_
operator_ totp POST /ui/operators/{username}/totp/reset- revoke_
operator_ session POST /ui/operators/{username}/sessions/{id}/revoke- set_
operator_ contact POST /ui/operators/{username}/contact- set_
operator_ role POST /ui/operators/{username}/role