]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Asynchronous unique username validation for User Component 34849/head
authorNizamudeen A <nia@localhost.localdomain>
Wed, 22 Apr 2020 11:23:41 +0000 (16:53 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 19 Jun 2020 07:47:30 +0000 (13:17 +0530)
commit6b6a2e934e2476e1ea5891f3f50a396851569784
treebad8e682422a15bf8a00f93ce8cb364c95cb0a2e
parent851d3a425979018a84e2275297a72d8c40367227
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>
(cherry picked from commit c4dfe20c08ecb9e50b7cb7bef6eb603e04d56387)
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