Project

General

Profile

Actions

Bug #37293

closed

mgr/dashboard: 403 Forbidden error with Users with roles cephfs-manager, block-manager or pool-manager

Added by Ernesto Puerta over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Component - Users & Roles
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When a user with any mix of the above roles only, tries to access CephFS/Block/Pool pages, he/she receives a 403 Forbidden error ("Sorry, you are not allowed to see what you were looking for").

Cause:
- Even with Grafana not enabled, all the above roles still try to access /settings/GRAFANA_API_URL, which in turn requires CONFIG_OPT Read permission. When the front-end app tries to reach that endpoint it triggers a 503 in the whole page, blocking the user from any other actions.

Reference BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1649711

Actions #1

Updated by Ernesto Puerta over 5 years ago

  • Pull request ID set to 25141
Actions #2

Updated by Ernesto Puerta over 5 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Lenz Grimmer over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #4

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 150 to Component - Users & Roles
Actions

Also available in: Atom PDF