Repository navigation
mgr/dashboard: fix-user-creation-validation - #69217
Conversation
585dc74 to
e23193c
Compare
|
jenkins test windows |
There was a problem hiding this comment.
Looks like there are some test failures @sagargopale2233
e23193c to
d039ff3
Compare
fixed |
Pegonzal
left a comment
There was a problem hiding this comment.
LGTM, just a couple of nits and code cleanups.
Also I don't think this is really a fix as I believe this was always the behaviour, but I do agree it makes sense to make this fields required.
114a63f to
cd34d0c
Compare
nizamial09
left a comment
There was a problem hiding this comment.
the reason we didn't require these fields was for the users created for sso. SSO users doesn't really need password at all so for them we create a user with empty password which is the reason we were supporting it. Do you know if that behavior changed with oAuth2 and if so is that why we are making this change?
cd34d0c to
d654470
Compare
d654470 to
70a122f
Compare
|
jenkins test windows |
|
jenkins test windows |
|
jenkins test dashboard |
|
jenkins test api |
|
jenkins test dashboard cephadm |
2 similar comments
|
jenkins test dashboard cephadm |
|
jenkins test dashboard cephadm |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
mgr/dashboard: fix-user-creation-validation
Fixes: https://tracker.ceph.com/issues/77024
Signed-off-by: Sagar Gopale [email protected]
PR Description : Enforce strict required validation for Password, Confirm Password, and Roles fields during new user creation.
Keep password fields dynamically optional when editing an existing user to preserve seamless user profile updates
Screencast :
Screencast.From.2026-06-01.18-03-09.mp4
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.