Rename admin pages to settings #167
No reviewers
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-1d2dadc1-settings-routes"
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?
Summary
/admin...page routes with/settings...page routes only./settings./settingsin the public and settings headers./adminroute removal.Verification
npm run build --workspace @slugkit/template-site./scripts/pre-pr.shPR Review: Approved
Summary
This PR replaces the protected admin page routes with settings page routes, updates settings templates/forms/login defaults/tests/docs, removes the old
/adminpage route, and adds a profile/person SVG header link to/settingsin both public and settings headers.Acceptance criteria
/settings,/settings/passkeys,/settings/api-keys,/settings/users, and/settings/activitypub; old/adminpage route is covered as not exposed.settings-linkanchor with an inline person/profile SVG./settings, with route tests asserting the link appears./settingsuses the protected settings middleware and tests assert anonymous settings access redirects to/login.Blocking issues
None.
Warnings
None.
Verification
npm run build --workspace @slugkit/template-site./scripts/pre-pr.shVerdict
Approved. Stop at the human merge gate.
PR Review Worker Result
PR Review Update: Approved
Summary
Reviewed the follow-up fix for viewer access.
/settingsnow requires an active site-user session instead of the admin role, so signed-in viewers can open settings and manage their own passkeys. Admin-only areas remain protected: Site users, ActivityPub, and API keys stay hidden from viewer settings navigation/dashboard and remain behind admin-role middleware until viewer API-key scoping is implemented separately.Acceptance criteria
Blocking issues
None.
Warnings
None.
Verification
npm run build --workspace @slugkit/template-site./scripts/pre-pr.shVerdict
Approved. Stop at the human merge gate.
PR Review Worker Result