Skip to content

Capacity drill-down pages show a generic error instead of 403-specific copy #3107

Closed

Description

ClusterUsageResourcePage and StorageClassUsagePage render a generic "Failed to load…" message on any list error. ClusterStorageSection, in the same Capacity area, distinguishes a 403 ("You do not have permission…") from other failures. For consistency the two drill-down pages should do the same.

Both pages sit behind CapacityAdminGuard (gated on nodes/list), so the realistic 403 case is a user who can list nodes but not the pods/PVCs the drill-down reads.

Suggested fix: reuse the K8sApiError status check from ClusterStorageSection, with a test for the 403 branch.

Activity

  1. added
    kind/cleanupCategorizes issue or PR as related to cleanup of code, process, or technical debt
    priority/backlogGeneral backlog priority. Lower than priority/important-longterm
    on Jun 2, 2026
  2. added
    priority/backlogGeneral backlog priority. Lower than priority/important-longterm
    kind/cleanupCategorizes issue or PR as related to cleanup of code, process, or technical debt
    area/dashboardIssues or PRs related to the dashboard / UI
    on Jun 26, 2026
  3. added a commit that references this issue on Aug 17, 2026
    c533928
  4. added a commit that references this issue on Aug 27, 2026
    d589114
  5. added a commit that references this issue on Oct 7, 2026
    4a5e18b
  6. added a commit that references this issue on Oct 11, 2026
    bcde187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dashboardIssues or PRs related to the dashboard / UIkind/cleanupCategorizes issue or PR as related to cleanup of code, process, or technical debtpriority/backlogGeneral backlog priority. Lower than priority/important-longtermtriage/acceptedIndicates an issue is ready to be actively worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions