Rename the admin example plugin to auth-admin, and let config/menu.ts hide or rename a profile-menu entry
CI / full-gate (push) Successful in 3m32s

This commit is contained in:
2026-11-08 21:25:11 +01:00
parent 34dfbea156
commit 05da1d7897
57 changed files with 317 additions and 270 deletions
+2 -2
View File
@@ -23,9 +23,9 @@ export interface NavNode extends Gate {
// order → hide, then the per-user gate filter runs last.
export interface NavOverride {
groups?: NavGroupSpec[]; // wrap top-level nodes (by id) under a new header
hide?: string[]; // remove nodes by id, at any depth (incl. a group's id)
hide?: string[]; // remove nodes by id, at any depth (incl. a group's id), and profile-menu entries
order?: string[]; // reorder top-level nodes by id; unlisted keep their order, after
rename?: Record<string, string>; // id → replacement label
rename?: Record<string, string>; // id → replacement label, for a node or a profile-menu entry
}
export interface NavGroupSpec {