Repository navigation
tentacle: mgr/dashboard: add validation for username - #70325
Conversation
|
jenkins test windows |
|
@afreen23 The conflict deviation in this backport is expected and correct. It occurred in src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html. The tentacle branch has an older UI layout where is wrapped in a . The core changes (helperText attributes) were manually applied to fit this older HTML structure. Could you please review and apply /audit override if this looks good to you?
|
|
jenkins test windows |
|
✅ Audit Override Applied by @afreen23. |
|
This PR has been added to wip-yuri16-testing-20260729.212606-tentacle. |
|
@sagargopale2233 this PR is part of the |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #70325 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 1f888a9 mgr/dashboard: add validation for username | PR #70046 | cec4a14 mgr/dashboard: add validation for username |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 1f888a9 (cherry-pick of cec4a14)
Affected File(s)
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
Range Diff
Click to expand
--- Original (cec4a14f)
+++ Backport (1f888a91)
@@ -1,3 +1,7 @@
mgr/dashboard: add validation for username
Signed-off-by: Sagar Gopale <[email protected]>
+(cherry picked from commit cec4a14faa203038f549d6174dd1b674adea4a18)
+
+ Conflicts:
+ src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
================================================================================
RANGE DIFF
================================================================================
1: cec4a14faa2 ! 1: 1f888a9179b mgr/dashboard: add validation for username
@@ Commit message
mgr/dashboard: add validation for username
Signed-off-by: Sagar Gopale <[email protected]>
+ (cherry picked from commit cec4a14faa203038f549d6174dd1b674adea4a18)
+
+ Conflicts:
+ 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.html ##
@@
- <cds-text-label
- labelInputID="username"
- cdRequiredField="Username"
-+ helperText="Username can only contain letters, numbers, '.', '_', '@', '+' or '-'."
-+ i18n-helperText
- [invalid]="!userForm.controls.username.valid && userForm.controls.username.dirty"
- [invalidText]="usernameError"
- i18n
+ <div class="form-item">
+ <cds-text-label labelInputID="username"
+ cdRequiredField="Username"
++ helperText="Username can only contain letters, numbers, '.', '_', '@', '+' or '-'."
++ i18n-helperText
+ [invalid]="!userForm.controls.username.valid && userForm.controls.username.dirty"
+ [invalidText]="usernameError"
+ i18n>Username
@@
- <span *ngIf="userForm.showError('username', formDir, 'notUnique')">
- <ng-container i18n> The username already exists. </ng-container>
+ The username already exists.
+ </ng-container>
</span>
+ <span
+ *ngIf="userForm.showError('username', formDir, 'pattern')"How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
This PR has been added to wip-yuri3-testing-20260819.151734-tentacle. |
|
jenkins test make check |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
batrick
left a comment
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated PR Review - Rebase Required
This PR currently has merge conflicts with the target base branch. Please rebase and resolve the conflicts.
Commit Parity Visualizer
| BACKPORT PR #70325 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 1f888a9 mgr/dashboard: add validation for username | PR #70046 | cec4a14 mgr/dashboard: add validation for username |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
|
@sagargopale2233 can you rebase ? |
Signed-off-by: Sagar Gopale <[email protected]> (cherry picked from commit cec4a14) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
1f888a9 to
98787d8
Compare
Rebased the PR. |
|
jenkins test windows |
|
✅ Audit Override Applied by @afreen23. |
Signed-off-by: Sagar Gopale [email protected]
(cherry picked from commit cec4a14)
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
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.