Add password reset/change for local users #80
Reference in New Issue
Block a user
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?
Context
Password creation for local users was added in the
feature/rbac-managementbranch (V3 migration addspassword_hashcolumn,UserAdminController.createUser()hashes via BCrypt). However there is no way to reset or change a password after creation.Requirements
Admin password reset
PUT /api/v1/admin/users/{userId}/password— admin sets a new password for any local user{ "password": "newPassword" }ADMINroleSelf-service password change
PUT /api/v1/auth/password— authenticated user changes their own password{ "currentPassword": "old", "newPassword": "new" }UI
Notes
provider = "local"users