Admin settings page #5

Closed
opened 2026-11-01 16:19:32 +01:00 by miko · 1 comment
Owner

Part of #1

Blocked by: #4

What

Instance-wide settings editable by admins at runtime (glossary: Setting).

Acceptance criteria

  • Prisma model Setting (key/value), typed access in code with defaults
  • Settings: session lifetime, instance name, default UI locale, top-level child order (alphabetical|manual)
  • /admin/settings accessible to admins only
  • Read-only display of the group → role mapping from the environment
  • Auth.js reads the session lifetime via lazy configuration; changes apply to newly issued sessions
  • Instance name used in the Titlebar and page title

Vocabulary: GLOSSARY.md. Decisions: docs/adr/.

Part of #1 Blocked by: #4 ## What Instance-wide settings editable by admins at runtime (glossary: Setting). ## Acceptance criteria - [ ] Prisma model `Setting` (key/value), typed access in code with defaults - [ ] Settings: session lifetime, instance name, default UI locale, top-level child order (`alphabetical`|`manual`) - [ ] `/admin/settings` accessible to admins only - [ ] Read-only display of the group → role mapping from the environment - [ ] Auth.js reads the session lifetime via lazy configuration; changes apply to newly issued sessions - [ ] Instance name used in the Titlebar and page title Vocabulary: `GLOSSARY.md`. Decisions: `docs/adr/`.
miko referenced this issue from a commit 2026-11-02 11:53:07 +01:00
Author
Owner

Implemented in PR #31 (feature/5-admin-settings). The default UI locale is stored and editable but nothing reads it yet: it takes effect once Lingui is wired up (#3).

Implemented in PR #31 (feature/5-admin-settings). The default UI locale is stored and editable but nothing reads it yet: it takes effect once Lingui is wired up (#3).
miko closed this issue 2026-11-02 11:53:22 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MassiveDynamic/kataba#5
No description provided.