Admin settings page (#5) #31
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/5-admin-settings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #5.
What
Setting(key/value) with typed access and defaults insrc/settings/settings.ts. A missing or invalid stored value falls back to its default./admin/settings, admins only (404 for everyone else, in both the page and the action). It shows the group → role mapping fromKATABA_ADMIN_GROUP/KATABA_AUTHOR_GROUPread-only.maxAgefrom the settings. A change applies to sessions from their next sign-in or renewal.%s · nametemplate).Beyond the ticket
ArrangeChildrenwas pulled out of the category edit page for this.Notes
connection()+ cached loader), sonext builddoesn't need the database.globalThis.Checks
typecheck, lint, 209 tests and
next buildall pass. Tested manually againstnext start: the instance name shows in the title and Titlebar, and a guest gets a 404 on/admin/settings.🤖 Generated with Claude Code