Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.9] [Security Solution] Update session viewer Policy permissions to use Policy specific check (#160448) #161127

Merged
merged 1 commit into from
Jul 3, 2023

Commits on Jul 3, 2023

  1. [Security Solution] Update session viewer Policy permissions to use P…

    …olicy specific check (elastic#160448)
    
    ## Summary
    
    This PR updates the session viewer code to use the
    `canReadPolicyManagement ` permission as opposed to
    `canAccessEndpointManagement`. This is because
    `canAccessEndpointManagement` requires super user permissions while
    `canReadPolicyManagement` which is a more specific permission.
    
    ### Checklist
    - [x] [Unit or functional
    tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
    were updated or added to match the most common scenarios
    
    ---------
    
    Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
    (cherry picked from commit 6a9e8d4)
    kevinlog committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    5132e9e View commit details
    Browse the repository at this point in the history