[RBAC] Monitoring endpoint information not consistent while editing db cluster

Description

  1. Create a Database cluster with monitoring enabled.

  2. Change user permissions and remove all permissions related to monitoring.

  3. Edit the same db cluster

  4. Open the monitoring page.

 

Actual Result:

  1. Monitoring enabled is visible

  2. 0 is written under it

  3. Warning message saying ‘monitoring is disabled’ with Add monitoring Endpoint option.

Expected Result:

  1. For db cluster that already have monitoring enabled, only ‘Enable Monitoring’ with toggle turned on should be displayed, non-clickable.

  2. For db cluster that does not already have monitoring enabled, either the monitoring option while editing the db cluster should not be displayed or an empty page only with ‘Cancel’ and ‘Edit Database’ buttons should be displayed.

    Or any similar solution.

Environment

None

Attachments

1

Activity

Show:
Unresolved

Details

Assignee

Reporter

Fix versions

Priority

Smart Checklist

Created September 11, 2024 at 11:06 AM
Updated November 18, 2024 at 12:45 PM