Add admin user creation & must-change flag
Add server and UI support for creating admin users and forcing password change. API: introduce CreateUserRequest contract and add CreateNewAppUser endpoint in AppUserController; extend ChangeUserRequest with MustChangePassword and handle role assignment and detailed error responses (409/422/400). Frontend: new CreateUserDialog component, integrate it into AdminUsers list, and add createAdminUser service with CreateAdminUserError and payload handling; include mustChangePassword in update payloads and EditUserDialog. UI polish: enhanced app banner enter/leave animations in Layout.vue and add auto-dismiss timers/cleanup to appBanners store to limit and auto-remove banners.
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
{
|
||||
public string? UserName { get; set; }
|
||||
public bool? IsActive { get; set; }
|
||||
public bool? MustChangePassword { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user