Document the users, groups and roles model in README

This commit is contained in:
2026-08-03 11:39:26 +02:00
parent b580f7d06e
commit 8f9f79ac30
8 changed files with 195 additions and 72 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
import { can, CSRF_FIELD, GuardError, type NavNode, readFormBody, type RequestContext, requireSession, type RouteResult, type User } from "#plugin-api";
export const ADMIN_ROLE = "admin"; // role token gating the whole admin section
export const ADMIN_ROLE = "admin"; // the role gating the whole admin section
export const ADMIN_USERS_BASE = "/admin/users";
export const ADMIN_GROUPS_BASE = "/admin/groups";
export const ADMIN_ROLES_BASE = "/admin/roles";