Skip to content

tentacle: mgr/dashboard: add validation for username - #70325

Merged
batrick merged 1 commit into
ceph:tentaclefrom
rhcs-dashboard:wip-78365-tentacle
Aug 25, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
rhcs-dashboard:wip-78365-tentacle

Conversation

@sagargopale2233

@sagargopale2233 sagargopale2233 commented Jul 20, 2026 •

Copy link
Copy Markdown

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@sagargopale2233 sagargopale2233 self-assigned this Jul 20, 2026
@sagargopale2233
sagargopale2233 requested a review from a team as a code owner July 20, 2026 06:45
@sagargopale2233 sagargopale2233 changed the title mgr/dashboard: add validation for username tentacle: mgr/dashboard: add validation for username Jul 20, 2026
@github-actions github-actions Bot added this to the tentacle milestone Jul 20, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 20, 2026
@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test windows

@sagargopale2233 sagargopale2233 removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
@sagargopale2233

Copy link
Copy Markdown
Author

@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?

@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test windows

@afreen23 afreen23 added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 22, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @afreen23.

View workflow run

@yuriw

yuriw commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri16-testing-20260729.212606-tentacle.

@yuriw

yuriw commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@sagargopale2233 this PR is part of the wip-yuri16-testing integration batch and still needs review approval before it can be merged. Could you request a review or ping a reviewer? Thanks!

@afreen23 afreen23 closed this Jul 30, 2026
@github-project-automation github-project-automation Bot moved this from New to Done in Ceph-Dashboard Jul 30, 2026
@afreen23 afreen23 reopened this Jul 30, 2026
@github-project-automation github-project-automation Bot moved this from Done to New in Ceph-Dashboard Jul 30, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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)

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 30, 2026
@yuriw yuriw added needs-merge QA-approved, awaiting merge window wip-yuri3-testing and removed wip-yuri16-testing labels Aug 15, 2026
@yuriw

yuriw commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri3-testing-20260819.151734-tentacle.

@afreen23

Copy link
Copy Markdown
Contributor

jenkins test make check

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-project-automation github-project-automation Bot moved this from New to Review in progress in Ceph-Dashboard Aug 21, 2026
@afreen23

Copy link
Copy Markdown
Contributor

@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
@sagargopale2233

Copy link
Copy Markdown
Author

@sagargopale2233 can you rebase ?

Rebased the PR.

@afreen23

Copy link
Copy Markdown
Contributor

jenkins test windows

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Aug 25, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @afreen23.

View workflow run

@batrick batrick modified the milestones: tentacle, v20.2.5 Aug 25, 2026
@batrick
batrick self-requested a review August 25, 2026 16:07
@batrick
batrick dismissed their stale review August 25, 2026 16:07

addrssed

@batrick
batrick merged commit 8c61f70 into ceph:tentacle Aug 25, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from Review in progress to Done in Ceph-Dashboard Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants