Skip to content

Commit b026bae

Browse files
authored
Fix bug on opertator UI where metrics was showing the menu (#1377)
Signed-off-by: Daniel Valdivia <[email protected]>
1 parent 5ee3ef4 commit b026bae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

portal-ui/src/common/SecureComponent/permissions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ export const IAM_PAGES_PERMISSIONS = {
300300
[IAM_PAGES.DASHBOARD]: [
301301
IAM_SCOPES.ADMIN_SERVER_INFO, // displays dashboard information
302302
],
303+
[IAM_PAGES.METRICS]: [
304+
IAM_SCOPES.ADMIN_SERVER_INFO, // displays dashboard information
305+
],
303306
[IAM_PAGES.POLICIES_VIEW]: [
304307
IAM_SCOPES.ADMIN_DELETE_POLICY,
305308
IAM_SCOPES.ADMIN_LIST_GROUPS,

0 commit comments

Comments
 (0)