kafka-ui
kafka-ui copied to clipboard
FE: fix KC action DELETE to EDIT
- [ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)
What changes did you make? (Give an overview)
in spite of all permission for KC(Kafka Connect), i cannot delete connect KC in each page. (image)
because the component has 'DELETE' action which is not in KC action list now, so i changed it to 'EDIT'
i also got the next plan for RBAC https://github.com/provectus/kafka-ui/issues/4170, but i think this is a issue that needs to be fixed for current use thank you for your review. 😃
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
- [ ] No need to
- [X] Manually (please, describe, if necessary)
- [ ] Unit checks
- [ ] Integration checks
- [ ] Covered by existing automation
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas
- [X] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
- [X] My changes generate no new warnings (e.g. Sonar is happy)
- [X] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
- [X] Any dependent changes have been merged
Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Is my patch related to this one? I added DELETE action to BE, so I am just not sure if I addressed this case (do not remember): #4250.