Skip to content

[7.x] [Security Solution] [Detections] Only display actions options if user has "read" privileges (#78812)#79364

Merged
dhurley14 merged 1 commit intoelastic:7.xfrom
dhurley14:backport/7.x/pr-78812
Oct 2, 2020
Merged

[7.x] [Security Solution] [Detections] Only display actions options if user has "read" privileges (#78812)#79364
dhurley14 merged 1 commit intoelastic:7.xfrom
dhurley14:backport/7.x/pr-78812

Conversation

@dhurley14
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

… has "read" privileges (elastic#78812)

* adds new 'can_read_actions' property to privileges api

* only display rule actions piece if user has 'read' privileges for actions

* display dropdown with custom text telling user they do not have read privileges for actions

* fixes type error

* update tests

* utilize application capabilities instead of making a server request

* remove changes to route tests

* don't show form unless user has read permissions for actions, display text saying user is missing required privileges

* pr feedback: refactor logic for rendering form fields
@dhurley14 dhurley14 added the backport This PR is a backport of another PR label Oct 2, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id before after diff
securitySolution 10.3MB 10.3MB +1.3KB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dhurley14 dhurley14 merged commit 49b2038 into elastic:7.x Oct 2, 2020
@dhurley14 dhurley14 deleted the backport/7.x/pr-78812 branch October 2, 2020 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants