[RBAC] Add monitoring endpoint option is visible while creating a DB cluster, when user does not have permission
Description
STRs:
Change RBAC policy in a way that user has no permissions for monitoring.
Create db cluster
Actual Result:
No error on the UI
Add monitoring endpoint option available on the UI.
Expected Result:
Either the monitoring option should not be displayed at all while creating a cluster or an empty page only with ‘Cancel’ and ‘Create Database’ buttons should be displayed.
STRs:
Change RBAC policy in a way that user has no permissions for monitoring.
Create db cluster
Actual Result:
No error on the UI
Add monitoring endpoint option available on the UI.
Expected Result:
Either the monitoring option should not be displayed at all while creating a cluster or an empty page only with ‘Cancel’ and ‘Create Database’ buttons should be displayed.
Or any similar solution.