Skip to content

Permissions - #12

Merged
mtiluk merged 2 commits into
mainfrom
permissions
Oct 14, 2026
Merged

mtiluk merged 2 commits into
mainfrom
permissions

Conversation

@mtiluk

@mtiluk mtiluk commented Oct 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

Michael added 2 commits October 14, 2026 19:58
Define the permission list in internal/permissions and seed it on
startup along with an admin role that holds every permission. Add
HasPermission and RequirePermission for guarding routes, and include
the user's permissions in the /me response.
Mirror the permission names as TypeScript constants and type them on
the user. Add /admin, which requires access.panel, with a sidebar and
placeholder pages that each check their own permission.
@mtiluk
mtiluk merged commit c51c835 into main Oct 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant