enhance: user management #114

Merged
jkeffects merged 5 commits from feature/#3#6-user-management into develop 2026-11-03 14:25:18 +00:00
Owner

Closes #3
Closes #6

Closes #3 Closes #6
Users with management.user.update or management.role.update now assign all non admin rights. Admin rights, privileged modules and roles containing them stay with admins. Replaces the temporary admin requirement from the audit fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New routes to disable and enable an account. Disabling ends all sessions and open resets. Login, passkey, QR login, refresh, reset and token creation reject disabled accounts, notifications skip them and a restore keeps the state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Managed accounts are created with a password set by the creator and can use passkeys, but no totp, reset or mail notifications. Setting their password ends sessions and removes passkeys. Admins convert accounts in both directions, the way back to a normal account uses a reset link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix: block own account in managed conversion and password route
All checks were successful
ci / Lint (pull_request) Successful in 3m19s
ci / Lockfile (pull_request) Successful in 3m7s
pr-title / Titel (pull_request) Successful in 3m5s
ci / Build (pull_request) Successful in 3m18s
ci / Status im Pull Request (pull_request) Successful in 3m7s
0b6a161c8f
A managed account with admin rights could convert itself to a normal account. With update rights it could also set its own password without the current one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

✅ CI-Prüfung

Prüfung Ergebnis
Lint ✅ bestanden
Build ✅ bestanden
Lockfile ✅ bestanden

Details und Logs: CI-Lauf

<!-- ci-status --> ### ✅ CI-Prüfung | Prüfung | Ergebnis | |---|---| | Lint | ✅ bestanden | | Build | ✅ bestanden | | Lockfile | ✅ bestanden | Details und Logs: [CI-Lauf](https://code.jk-effects.cloud/FF-Admin/ff-admin-core-server/actions/runs/4307)
jkeffects merged commit aa91f7c9ac into develop 2026-11-03 14:25:18 +00:00
jkeffects deleted branch feature/#3#6-user-management 2026-11-03 14:25:19 +00:00
jkeffects referenced this pull request from a commit 2026-11-03 14:25:19 +00:00
jkeffects referenced this pull request from a commit 2026-11-03 22:26:19 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
FF-Admin/ff-admin-core-server!114
No description provided.