Answer product-owner round 1: 0 🔴, 2 🟡 (0 misread); say the old copy is refused and nothing redirects /admin/, show a profile-entry override

This commit is contained in:
2026-11-08 21:33:57 +01:00
parent 8324a9c59e
commit b8a510a1c5
4 changed files with 16 additions and 14 deletions
+4 -2
View File
@@ -3,7 +3,8 @@
// Absent config = built-in defaults.
//
// Brand the app, reorder/rename/group/hide nav nodes and rename/hide profile-menu entries (by their
// `id`) across all plugins — the override always wins, applied before the per-user permission filter. Every field is optional.
// `id`) across all plugins — the override always wins, applied before the per-user permission
// filter. Every field is optional.
// See src/ui/menu-config.ts (types), src/ui/nav.ts (NavOverride), README → The menu system.
import { defineMenu } from "#menu-config";
@@ -16,7 +17,8 @@ export default defineMenu({
// theme: "auto", // default color theme: auto | light | dark
},
// Operator override (rename → group → order → hide), keyed by node id.
// Operator override (rename → group → order → hide), keyed by nav-node id; `rename` and `hide` also
// take a profile-menu entry's id, such as "scheduling:profile-mine".
override: {
// rename: { people: "Staff" }, // node id → new label (or a catalog key)
// groups: [{ id: "admin", label: "Admin", children: ["users", "groups"] }],
+2 -2
View File
@@ -1,8 +1,8 @@
# auth-admin — the plugin that administers users, groups, permissions and OAuth2 clients
# auth-admin — the plugin that administers users, groups, permissions, OAuth2 clients and plugin settings
The Users / Groups / OAuth2-clients screens for running Plainpages itself, shipped as a **drop-in
example plugin** so a fresh clone has no admin GUI until you opt in. Copy this folder into `plugins/`
(it keeps the id and mount path `auth-admin`, so the screens live at `/auth-admin/*`) and restart:
(its folder name `auth-admin` is its id and mount path, so the screens live at `/auth-admin/*`) and restart:
```bash
cp -r examples/plugins/auth-admin plugins/auth-admin