Issue 756
enhancement: Show the admin link only to admins
Back to our planOpen
enhancementfrontendauthpriority: low
Problem
In plain words: nothing uses the requireRole guard yet; the first real use should be showing the admin link only to admins.
Proposed fix
Use requireRole (accounts module) so the admin link in the site chrome appears only for signed-in admins. Keep the check server-side.
Acceptance criteria
- Not done: The admin link shows only to admins; others never get it in the page.
- Not done: Test covers admin, editor and signed-out.
Decided with the owner in the #728 audit review (2026-11-06, text session). Ideas here are not scheduled; groom before starting.
Area
auth, frontend
Priority
priority: low
Generated by Claude Code, opens in a new tab