Actions
Cleanup #36375
closedmgr/dashboard: Async unique username validation
Status:
Resolved
Priority:
Low
Assignee:
Category:
Component - Users & Roles
Target version:
% Done:
0%
Tags:
low-hanging-fruit
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:
Description
If I try to create one user that already exists, the error message will only be displayed after pressing the submit button.
We should implement the same behavior that we have on Roles, where the error message is displays after the role name is filled.
Check out the RGW user form how it is implemented there:
https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts#L57
https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.ts#L130
Actions