Admin: create user accounts directly #331
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#331
Loading…
Reference in New Issue
Block a user
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?
Problem
A site admin currently has no way to create user accounts. Accounts only come into existence via:
auth.registrationMode = open),SETUP_ADMIN_*seeding (initial admin only).On a closed instance (registration
closed, no external IdP) the only workaround is to temporarily open registration, which is awkward and briefly exposes the instance to unwanted signups.Proposal
Add a Create user capability to the site-admin user management:
POST /api/v1/admin/users(site-admin guard) with username, email, display name, locale and an initial password.markEmailVerifiedalone does NOT create the personal pond).user.created_by_admin) ->audit-actions.ts+docs/architecture/audit-events.md+ catalogue minor bump.Acceptance criteria