-
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
fix(slo): enforce write capabilities on welcome and form pages #157153
fix(slo): enforce write capabilities on welcome and form pages #157153
Conversation
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: cc @kdelemme |
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.
@kdelemme When accessing http://localhost:5601/app/observability/slos
with "None" SLO privileges, the screen is flickering. Did you intend to fix that too in this PR?
@benakansara Not this one in this PR. |
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
…ic#157153) (cherry picked from commit 0743600)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…157153) (#157183) # Backport This will backport the following commits from `main` to `8.8`: - [fix(slo): enforce write capabilities on welcome and form pages (#157153)](#157153) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2023-05-09T14:17:42Z","message":"fix(slo): enforce write capabilities on welcome and form pages (#157153)","sha":"07436005b8ca1d54cece0d25000839f49304d62b","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: Actionable Observability","backport:prev-minor","v8.9.0"],"number":157153,"url":"https://github.com/elastic/kibana/pull/157153","mergeCommit":{"message":"fix(slo): enforce write capabilities on welcome and form pages (#157153)","sha":"07436005b8ca1d54cece0d25000839f49304d62b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157153","number":157153,"mergeCommit":{"message":"fix(slo): enforce write capabilities on welcome and form pages (#157153)","sha":"07436005b8ca1d54cece0d25000839f49304d62b"}}]}] BACKPORT--> Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
Resolves #157150
Summary
This PR fixes the welcome and form pages when a user has not the write capabilities: