]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Asynchronous unique username validation for User Component
authorNizamudeen A <nia@localhost.localdomain>
Wed, 22 Apr 2020 11:23:41 +0000 (16:53 +0530)
committerNizamudeen A <nia@localhost.localdomain>
Wed, 22 Apr 2020 11:35:25 +0000 (17:05 +0530)
commitc4dfe20c08ecb9e50b7cb7bef6eb603e04d56387
tree18b423991e93dd9ec0a9c7f464aeb2fd75b3eb23
parent65239481f19447da15e419a4d2dc901d890ad31e
mgr/dashboard: Asynchronous unique username validation for User Component

Implements an asynchronous validation for the username field in the Create User form which immediately display an error message if the username already exists.

Fixes: https://tracker.ceph.com/issues/36375
Signed-off-by: Nizamudeen <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/user.service.ts