-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution][Endpoint] Add RBAC to Endpoint Policy List and Po…
…licy Details pages (#146480) ## Summary - The following changes were done in support of RBAC for the policy management from security solution: - Pages are only accessible if user has `read` permissions - If user does not have `read` or `write` permissions, the link to the Policy list is remove from the Security Solution management page - If user ONLY has `read`, then the Policy Details save button is removed and all form controls (ex. switches, checkboxes, etc) are disabled - If user does not have `read` permissions to the Endpoint list page, then the policy list `Endpoints` column is displayed as plain text (no link) - Fixes a bug with the `Cancel` button on the Policy Details, which was redirecting the user by default to the Endpoint List - correct behavior is to redirect to the policy list by default
- Loading branch information
1 parent
c3d1d9e
commit d3b4d39
Showing
15 changed files
with
295 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.