Skip to content

tentacle: mgr/dashboard: "Access Denied" being shown on overview page for read-only user - #68786

Merged
batrick merged 2 commits into
ceph:tentaclefrom
rhcs-dashboard:wip-76452-tentacle
Jul 14, 2026
Merged

batrick merged 2 commits into
ceph:tentaclefrom
rhcs-dashboard:wip-76452-tentacle

Conversation

@devikab25

Copy link
Copy Markdown
Contributor

@devikab25
devikab25 requested a review from a team as a code owner May 7, 2026 07:58
@devikab25 devikab25 added this to the tentacle milestone May 7, 2026
@devikab25
devikab25 requested review from abhidesai6 and nmunet May 7, 2026 07:58
@github-actions github-actions Bot added the pybind label May 7, 2026
@devikab25

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@devikab25

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@devikab25
devikab25 force-pushed the wip-76452-tentacle branch from 34d2942 to ccb6f00 Compare May 7, 2026 09:18
@afreen23

afreen23 commented May 7, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@devikab25
devikab25 force-pushed the wip-76452-tentacle branch from ccb6f00 to 52300dc Compare May 7, 2026 09:52
@afreen23

afreen23 commented May 7, 2026

Copy link
Copy Markdown
Contributor

@afreen23

afreen23 commented May 8, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@afreen23

afreen23 commented May 8, 2026 •

Copy link
Copy Markdown
Contributor

There was another PR raised in main for same branch #68787 causing issues to fetch correct git ref in CI

@devikab25
devikab25 force-pushed the wip-76452-tentacle branch from 3cf5ae3 to 131e24c Compare May 8, 2026 12:03
@afreen23

afreen23 commented May 8, 2026

Copy link
Copy Markdown
Contributor

jenkins test api

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard May 12, 2026
batrick

This comment was marked as outdated.

@devikab25
devikab25 force-pushed the wip-76452-tentacle branch from 131e24c to bde6053 Compare May 13, 2026 09:00
@afreen23

Copy link
Copy Markdown
Contributor

Automated Backport Parity Review - Invalid Commit Format

The following commits have an invalid format. Backport commits must either include a standard (cherry picked from commit ...) line or start with the target branch name (e.g., tentacle:).

  • 52300dce mgr/dashboard: "Access Denied" being shown on overview page for read-only user

Be familiar with the rules and guidelines for writing backports.

Automated Backport Parity Review

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Missing Original PR(s): Could not identify any main PRs associated with this backport. Ensure the backport commits properly reference the original PRs.

Commit Parity Visualizer

BACKPORT PR #68786 SOURCE PR SOURCE STATUS
52300dc mgr/dashboard: "Access Denied" being shown on overview page for read-only user <<<< EXTRA IN BACKPORT >>>>
131e24c tentacle: mgr/dashboard: Fix linting issue <<<< EXTRA IN BACKPORT >>>>
🛟 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.

Rebase and lint fixes added the extra commit, approving.
Cherry-pick is added

devikab25 added 2 commits May 14, 2026 20:37
…only user

Fix: https://tracker.ceph.com/issues/76293
Signed-off-by: Devika Babrekar <[email protected]>

Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts
    -Code conflicts on same line due to change in logic

(cherry picked from commit 4ebd227)
backport tracker: https://tracker.ceph.com/issues/76452

Signed-off-by: Devika Babrekar <[email protected]>

Changes to be committed:
	modified:   src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts
        - linting issue fix
@afreen23
afreen23 force-pushed the wip-76452-tentacle branch from bde6053 to 28b76aa Compare May 14, 2026 15:08
@batrick batrick modified the milestones: v20.2.2, v20.2.3 May 15, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 15, 2026
@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels May 15, 2026
github-actions[bot]

This comment was marked as outdated.

@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri10-testing-20260622.213727-tentacle.

@lee-j-sanders

Copy link
Copy Markdown
Member

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 13, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 13, 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

Automated Backport Parity Review

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.


Commit Parity Visualizer

BACKPORT PR #68786 SOURCE PR SOURCE STATUS
33fcfcc mgr/dashboard: "Access Denied" being shown on overview page for read-only user PR #68653 4ebd227 mgr/dashboard: "Access Denied" being shown on overview page for read-only user
28b76aa tentacle: mgr/dashboard: Fix linting issue <<<< EXTRA IN BACKPORT >>>>

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 33fcfcc (cherry-pick of 4ebd227)

Affected File(s)

Range Diff

Click to expand
--- Original (4ebd2276)
+++ Backport (33fcfcc7)
@@ -1,3 +1,9 @@
 mgr/dashboard: "Access Denied" being shown on overview page for read-only user
 Fix: https://tracker.ceph.com/issues/76293
 Signed-off-by: Devika Babrekar <[email protected]>
+
+Conflicts:
+	src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts
+    -Code conflicts on same line due to change in logic
+
+(cherry picked from commit 4ebd227)

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

1:  4ebd2276bf4 ! 1:  33fcfcc7165 mgr/dashboard: "Access Denied" being shown on overview page for read-only user Fix: https://tracker.ceph.com/issues/76293 Signed-off-by: Devika Babrekar <[email protected]>
    @@ Commit message
         Fix: https://tracker.ceph.com/issues/76293
         Signed-off-by: Devika Babrekar <[email protected]>
     
    +    Conflicts:
    +            src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts
    +        -Code conflicts on same line due to change in logic
    +
    +    (cherry picked from commit 4ebd227)
    +
      ## src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/health-card/overview-health-card.component.ts ##
     @@ src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/health-card/overview-health-card.component.ts: export class OverviewHealthCardComponent {
          this.viewPGStates.emit();
    @@ src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/health-card/overview-hea
     
      ## src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.html ##
     @@
    -       <div cdsStack="horizontal"
    -            gap="2">
    +         </cds-dropdown>
    + 
              <cd-time-picker
     -          [dropdwonSize]="'sm'"
     -          [label]="'Time Span'"
    @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/per
     
      ## src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.spec.ts ##
     @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.spec.ts: import { MgrModuleService } from '../../api/mgr-module.service';
    - import { PerformanceData } from '../../models/performance-data';
    + import { StorageType, PerformanceData } from '../../models/performance-data';
      import { DatePipe } from '@angular/common';
      import { NumberFormatterService } from '../../services/number-formatter.service';
     +import { AuthStorageService } from '../../services/auth-storage.service';
    @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/per
     +    expect(component.emptyStateKey()).toBe('');
        }));
      
    -   it('should cleanup subscriptions on ngOnDestroy', () => {
    +   it('should update selectedStorageType and reload charts on storage type selection', () => {
     
      ## src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts ##
     @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts: import {
    @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/per
      @Component({
        selector: 'cd-performance-card',
     @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts: export class PerformanceCardComponent implements OnInit, OnDestroy {
    -     }
        ];
      
    +   selectedStorageType = StorageType.All;
     +  role: string = '';
    -+
    + 
        private prometheusService = inject(PrometheusService);
        private performanceCardService = inject(PerformanceCardService);
        private mgrModuleService = inject(MgrModuleService);
    @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/per
        ngOnInit() {
          this.loadCharts(this.time);
     @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts: export class PerformanceCardComponent implements OnInit, OnDestroy {
    -       .getChartData(time)
    +       .getChartData(time, this.selectedStorageType)
            .pipe(takeUntil(this.destroy$))
            .subscribe((data) => {
     -        this.chartDataSignal.set(data);
    @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/per
            });
        }
      
    +@@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.ts: export class PerformanceCardComponent implements OnInit, OnDestroy {
    +     this.selectedStorageType = event.item.value;
    +     this.loadCharts(this.time);
    +   }
    ++  
     +  followEmptyStateMsgCheck(data: PerformanceData) {
     +    let enabled$ = this.list().filter((a) => a.name === 'prometheus')[0].enabled;
     +    this.chartDataSignal.set(data);
    @@ src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/per
     +    this.chartDataSignal.set(data);
     +    this.emptyStateKey.set('');
     +  }
    -+
    + 
        ngOnDestroy(): void {
          this.destroy$.next();
    -     this.destroy$.complete();

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 13, 2026
@batrick
batrick merged commit 6ef51f5 into ceph:tentacle Jul 14, 2026
10 of 12 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard needs-qa pybind releng-audit-fail Release engineering: failed backport verification audit. wip-yuri10-testing

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants