Project

General

Profile

Actions

Cleanup #36375

closed

mgr/dashboard: Async unique username validation

Added by Ricardo Marques over 5 years ago. Updated about 3 years ago.

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


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #45346: octopus: mgr/dashboard: Async unique username validationResolvedNizamudeen AActions
Actions

Also available in: Atom PDF