Project

General

Profile

Cleanup #36375

mgr/dashboard: Async unique username validation

Added by Ricardo Marques over 5 years ago. Updated almost 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

Copied to Dashboard - Backport #45346: octopus: mgr/dashboard: Async unique username validation Resolved

History

#1 Updated by Ricardo Marques over 5 years ago

  • Assignee deleted (Ricardo Marques)

#2 Updated by Ricardo Marques over 5 years ago

  • Tags set to low-hanging-fruit

#3 Updated by Ricardo Marques over 5 years ago

  • Priority changed from Normal to Low

#4 Updated by Volker Theile over 5 years ago

  • Subject changed from Async unique username validation to mgr/dashboard: Async unique username validation

#5 Updated by Volker Theile over 5 years ago

  • Description updated (diff)

#6 Updated by Nizamudeen A almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Nizamudeen A

#7 Updated by Nizamudeen A almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 34587

#8 Updated by Volker Theile almost 4 years ago

  • Backport set to octopus

#9 Updated by Lenz Grimmer almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v16.0.0

#10 Updated by Nizamudeen A almost 4 years ago

  • Copied to Backport #45346: octopus: mgr/dashboard: Async unique username validation added

#11 Updated by Nathan Cutler almost 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

#12 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 150 to Component - Users & Roles

Also available in: Atom PDF