[FE] Implementation of Metrics RBAC UI

Description

None

How to test

FB:https://github.com/Percona-Lab/pmm-submodules/pull/2949#issuecomment-1385208940

When running the app add the ENABLE_RBAC=1 env variable.

A new section should appear in the configuration - Access Roles. Where you can add/edit/delete user roles. For assigning user roles use the Users tab, there's an additional column for assigning roles to users.

Default role is assigned to new users.

On the Add/Edit pages you can assign the metrics access - it's the same as in the Explore page.

How to document

None

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Fix versions

Story Points

Smart Checklist

Created October 27, 2022 at 9:54 AM
Updated March 6, 2024 at 12:29 AM
Resolved February 27, 2023 at 1:13 PM