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:
@@ -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"] }],
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user