-
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
[UII] Remove action links and buttons when secrets field is disabled #188252
Conversation
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
Metrics [docs]Async chunks
cc @jen-huang |
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 🚀
…lastic#188252) ## Summary Resolves elastic#187642 This PR removes action links and buttons to replace and convert secrets fields if the field itself is disabled, for cases like the user not having write permissions: <img width="730" alt="image" src="https://github.com/user-attachments/assets/957ad858-74bf-4f28-a212-148253e4ca0f"> <img width="716" alt="image" src="https://github.com/user-attachments/assets/d70f7946-8b62-4e13-9d16-98ddac26b826"> Also applies sentence casing to `Service token` label. ### 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 (cherry picked from commit 4c0db61)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…sabled (#188252) (#188258) # Backport This will backport the following commits from `main` to `8.15`: - [[UII] Remove action links and buttons when secrets field is disabled (#188252)](#188252) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"its.jenetic@gmail.com"},"sourceCommit":{"committedDate":"2024-07-12T18:31:16Z","message":"[UII] Remove action links and buttons when secrets field is disabled (#188252)\n\n## Summary\r\n\r\nResolves #187642 \r\n\r\nThis PR removes action links and buttons to replace and convert secrets\r\nfields if the field itself is disabled, for cases like the user not\r\nhaving write permissions:\r\n\r\n<img width=\"730\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/957ad858-74bf-4f28-a212-148253e4ca0f\">\r\n\r\n<img width=\"716\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/d70f7946-8b62-4e13-9d16-98ddac26b826\">\r\n\r\nAlso applies sentence casing to `Service token` label.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"4c0db61e6d92ada57833471a33daa5eb40c38e44","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.16.0"],"title":"[UII] Remove action links and buttons when secrets field is disabled","number":188252,"url":"https://github.com/elastic/kibana/pull/188252","mergeCommit":{"message":"[UII] Remove action links and buttons when secrets field is disabled (#188252)\n\n## Summary\r\n\r\nResolves #187642 \r\n\r\nThis PR removes action links and buttons to replace and convert secrets\r\nfields if the field itself is disabled, for cases like the user not\r\nhaving write permissions:\r\n\r\n<img width=\"730\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/957ad858-74bf-4f28-a212-148253e4ca0f\">\r\n\r\n<img width=\"716\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/d70f7946-8b62-4e13-9d16-98ddac26b826\">\r\n\r\nAlso applies sentence casing to `Service token` label.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"4c0db61e6d92ada57833471a33daa5eb40c38e44"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188252","number":188252,"mergeCommit":{"message":"[UII] Remove action links and buttons when secrets field is disabled (#188252)\n\n## Summary\r\n\r\nResolves #187642 \r\n\r\nThis PR removes action links and buttons to replace and convert secrets\r\nfields if the field itself is disabled, for cases like the user not\r\nhaving write permissions:\r\n\r\n<img width=\"730\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/957ad858-74bf-4f28-a212-148253e4ca0f\">\r\n\r\n<img width=\"716\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/d70f7946-8b62-4e13-9d16-98ddac26b826\">\r\n\r\nAlso applies sentence casing to `Service token` label.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"4c0db61e6d92ada57833471a33daa5eb40c38e44"}}]}] BACKPORT--> Co-authored-by: Jen Huang <its.jenetic@gmail.com>
Summary
Resolves #187642
This PR removes action links and buttons to replace and convert secrets fields if the field itself is disabled, for cases like the user not having write permissions:
Also applies sentence casing to
Service token
label.Checklist