-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Alerting UI] Not showing edit button in rule management UI if rule is not editable in UI #107801
Conversation
…ing/editing-siem-rules
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @ymao1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Works as described in test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and works as expected
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @ymao1 |
…s not editable in UI (elastic#107801) * Should not show edit button on rule management page if rule not editable in stack * Disabling edit button in collapsed actions * Adding tests for collapsed item actions component * Cleanup Co-authored-by: Kibana Machine <[email protected]>
…s not editable in UI (#107801) (#108109) * Should not show edit button on rule management page if rule not editable in stack * Disabling edit button in collapsed actions * Adding tests for collapsed item actions component * Cleanup Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Resolves #107324
Summary
Edit button was showing for rules that were not editable in the stack management UI. Applied the same logic as used on the rule details page to the rule list view.
To Verify
Create a security detection rule. Navigate to Rules & Connectors UI and verify that the edit button does not show up on hover on the rule list and that the Edit action is disabled in the menu dropdown. Verify that other rule types are editable from the rule list page.
Checklist
Delete any items that are not applicable to this PR.