Introduce site users and access roles #146
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#146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Goal
Introduce a stored site user model that separates bootstrap owner access, management permissions, and future protected-content viewing from the public ActivityPub author identity, and make the first slice usable through minimal admin user management.
Requirements
ADMIN_EMAILas bootstrap or recovery access rather than the permanent user model.adminorviewerroles, and deactivate users.Acceptance criteria
viewerrole or equivalent to support protected-content viewing later.ADMIN_EMAILbehavior is documented as bootstrap/recovery-oriented rather than the sole long-term admin identity.Dependencies
Synced from todu comment by @todu on 2026-06-20T12:35:53.607Z
Update
feat/task-4ea105da-site-users-roles./admin/usersmanagement, admin capability checks, docs, and tests.Synced from todu comment by @todu on 2026-06-20T12:46:42.975Z
Closing summary
Task close gate: READY
Acceptance criteria verified:
site_users,site_user_roles, andauth/site-users.tshelpers.adminrole/capability, separate from ActivityPub authorship.viewerrole added for future protected-content access.ADMIN_EMAILdocumented as bootstrap/recovery access inauth/README.md./admin/userslets admins list, add, assignadmin/viewer, and deactivate site users.npm run build --workspace @slugkit/template-site, targeted template-site tests,./scripts/pre-pr.sh, and Forgejo Actions run #227.PR #162 merged into
main: #162Synced from todu comment by @todu on 2026-06-20T12:43:53.646Z
Review update
npm run build --workspace @slugkit/template-site, targeted template-site tests for site users/admin users/auth/migrations/existing admin routes,./scripts/pre-pr.sh, and Forgejo Actions run #227.