-
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
[Dashboard] Fix Copy To Permission & Unskip RBAC tests #100616
[Dashboard] Fix Copy To Permission & Unskip RBAC tests #100616
Conversation
…ed functional tests
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-presentation (Team:Presentation) |
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 my only thought is that we have showWriteControls in one place and hideWriteControls in another. We might consider picking one name and going with it
Yeah that's been there for a really long time, and was what caused the confusion in the first place. I am planning to rename everything |
💔 Backport failed
To backport manually run: |
* slightly better typing for dashboard permissions. Fixed typo, unskipped functional tests # Conflicts: # x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security.ts
Fixes #100449
Summary
This PR Fixes a typo that was causing the the copy to action to show up when the user did not have edit permissions for dashboards. It also introduces some new typing for dashboard capabilities to avoid this sort of issue in the future.
This PR also unskips the dashboard RBAC tests, which have been skipped due to flakiness.
Fixes #98249
Fixes #86950
The following Flaky Test Runner covers both flaky tests. 100 executions with 0 failures
Checklist
Delete any items that are not applicable to this PR.
For maintainers