UI: Role-based visibility for command buttons #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
RBAC is now enforced server-side (
a4de2a7). The UI should respect roles to avoid showing controls that will return 403.Requirements
rolesclaim on the frontend (base64 decode the payload)Roles
Blocked — No agent command UI exists yet. The role gating pattern is in place (ADMIN check on OidcAdminPage), but there are no command buttons to gate. This issue is blocked until the command UI is built.