Skip to content

tentacle: mgr/dashboard: rbd-mirroring - hide create/import token buttons for read-only users - #69951

Merged
batrick merged 1 commit into
ceph:tentaclefrom
aaSharma14:wip-77942-tentacle
Jul 10, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
aaSharma14:wip-77942-tentacle

Conversation

@aaSharma14

Copy link
Copy Markdown
Contributor

@aaSharma14
aaSharma14 requested a review from a team as a code owner July 6, 2026 09:19
@aaSharma14
aaSharma14 requested review from abhidesai6 and pecastro July 6, 2026 09:19
@aaSharma14 aaSharma14 added this to the tentacle milestone Jul 6, 2026
@github-actions github-actions Bot added pybind releng-audit-pass Release engineering: passed backport verification audit. labels Jul 6, 2026
@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Jul 6, 2026
@aaSharma14
aaSharma14 force-pushed the wip-77942-tentacle branch from 28b2155 to f6c9704 Compare July 7, 2026 08:56
@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Jul 7, 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.

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved 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.

Deviation in Backport f6c9704 (cherry-pick of 50bf8ce)

Affected File(s)

Range Diff

Click to expand
--- Original (50bf8ce2)
+++ Backport (f6c97046)
@@ -4,3 +4,4 @@
 Fixes: https://tracker.ceph.com/issues/77115
 
 Signed-off-by: Aashish Sharma <[email protected]>
+(cherry picked from commit 50bf8ce2eb0ed6bd2c083169d6746baf3c0a8354)

================================================================================
RANGE DIFF
================================================================================

1:  50bf8ce2eb0 ! 1:  f6c97046213 mgr/dashboard: rbd-mirroring - hide create/import token buttons for read-only users
    @@ Commit message
         Fixes: https://tracker.ceph.com/issues/77115
     
         Signed-off-by: Aashish Sharma <[email protected]>
    +    (cherry picked from commit 50bf8ce2eb0ed6bd2c083169d6746baf3c0a8354)
     
      ## src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html ##
     @@
    @@ src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview
     -                  [attr.aria-label]="action.name"
     -                  [attr.data-testid]="action.name"
     -                  [preserveFragment]="action.preserveFragment ? '' : null">
    --            <span i18n>{{ action.name }}</span>
    ++        @if (!action.visible || action.visible(selection)) {
    ++          <button
    ++            type="button"
    ++            [cdsButton]="action.buttonKind"
    ++            [title]="action.name"
    ++            (click)="action.click($event)"
    ++            [disabled]="action.disable()"
    ++            [attr.aria-label]="action.name"
    ++            [attr.data-testid]="action.name"
    ++            [preserveFragment]="action.preserveFragment ? '' : null">
    +             <span i18n>{{ action.name }}</span>
     -            <svg class="cds--btn__icon"
     -                 [cdsIcon]="action.icon"
     -                 size="16"></svg>
    --          </button>
    -+          @if (!action.visible || action.visible(selection)) {
    -+            <button
    -+              type="button"
    -+              [cdsButton]="action.buttonKind"
    -+              [title]="action.name"
    -+              (click)="action.click($event)"
    -+              [disabled]="action.disable()"
    -+              [attr.aria-label]="action.name"
    -+              [attr.data-testid]="action.name"
    -+              [preserveFragment]="action.preserveFragment ? '' : null">
    -+              <span i18n>{{ action.name }}</span>
    -+              <svg
    -+                class="cds--btn__icon"
    -+                [cdsIcon]="action.icon"
    -+                size="16">
    -+              </svg>
    -+            </button>
    -+          }
    ++            <svg
    ++              class="cds--btn__icon"
    ++              [cdsIcon]="action.icon"
    ++              size="16">
    ++            </svg>
    +           </button>
    ++        }
              </ng-container>
            </div>
          </div>

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.


Commit Parity Visualizer

BACKPORT PR #69951 SOURCE PR SOURCE STATUS
f6c9704 mgr/dashboard: rbd-mirroring - hide create/import token buttons for PR #69282 50bf8ce mgr/dashboard: rbd-mirroring - hide create/import token buttons for

🛟 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.

CI Run Log: View Workflow Details

@aaSharma14 aaSharma14 removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 8, 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.

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved 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.

Deviation in Backport f6c9704 (cherry-pick of 50bf8ce)

Affected File(s)

Range Diff

Click to expand
--- Original (50bf8ce2)
+++ Backport (f6c97046)
@@ -4,3 +4,4 @@
 Fixes: https://tracker.ceph.com/issues/77115
 
 Signed-off-by: Aashish Sharma <[email protected]>
+(cherry picked from commit 50bf8ce2eb0ed6bd2c083169d6746baf3c0a8354)

================================================================================
RANGE DIFF
================================================================================

1:  50bf8ce2eb0 ! 1:  f6c97046213 mgr/dashboard: rbd-mirroring - hide create/import token buttons for read-only users
    @@ Commit message
         Fixes: https://tracker.ceph.com/issues/77115
     
         Signed-off-by: Aashish Sharma <[email protected]>
    +    (cherry picked from commit 50bf8ce2eb0ed6bd2c083169d6746baf3c0a8354)
     
      ## src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html ##
     @@
    @@ src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview
     -                  [attr.aria-label]="action.name"
     -                  [attr.data-testid]="action.name"
     -                  [preserveFragment]="action.preserveFragment ? '' : null">
    --            <span i18n>{{ action.name }}</span>
    ++        @if (!action.visible || action.visible(selection)) {
    ++          <button
    ++            type="button"
    ++            [cdsButton]="action.buttonKind"
    ++            [title]="action.name"
    ++            (click)="action.click($event)"
    ++            [disabled]="action.disable()"
    ++            [attr.aria-label]="action.name"
    ++            [attr.data-testid]="action.name"
    ++            [preserveFragment]="action.preserveFragment ? '' : null">
    +             <span i18n>{{ action.name }}</span>
     -            <svg class="cds--btn__icon"
     -                 [cdsIcon]="action.icon"
     -                 size="16"></svg>
    --          </button>
    -+          @if (!action.visible || action.visible(selection)) {
    -+            <button
    -+              type="button"
    -+              [cdsButton]="action.buttonKind"
    -+              [title]="action.name"
    -+              (click)="action.click($event)"
    -+              [disabled]="action.disable()"
    -+              [attr.aria-label]="action.name"
    -+              [attr.data-testid]="action.name"
    -+              [preserveFragment]="action.preserveFragment ? '' : null">
    -+              <span i18n>{{ action.name }}</span>
    -+              <svg
    -+                class="cds--btn__icon"
    -+                [cdsIcon]="action.icon"
    -+                size="16">
    -+              </svg>
    -+            </button>
    -+          }
    ++            <svg
    ++              class="cds--btn__icon"
    ++              [cdsIcon]="action.icon"
    ++              size="16">
    ++            </svg>
    +           </button>
    ++        }
              </ng-container>
            </div>
          </div>

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.


Commit Parity Visualizer

BACKPORT PR #69951 SOURCE PR SOURCE STATUS
f6c9704 mgr/dashboard: rbd-mirroring - hide create/import token buttons for PR #69282 50bf8ce mgr/dashboard: rbd-mirroring - hide create/import token buttons for

🛟 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.

CI Run Log: View Workflow Details

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

yuriw commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri4-testing-20260708.183239-tentacle.

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

afreen23 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

jenkins test dashboard cephadm

1 similar comment
@afreen23

afreen23 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

jenkins test dashboard cephadm

@batrick
batrick merged commit 3fe81a2 into ceph:tentacle Jul 10, 2026
9 of 11 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 10, 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