Skip to content
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

Bug: Unable to delete Permission Group with kubernetes resource permissions applied #3281

Closed
2 tasks done
Ash-exp opened this issue Apr 13, 2023 · 0 comments · Fixed by #3609
Closed
2 tasks done

Bug: Unable to delete Permission Group with kubernetes resource permissions applied #3281

Ash-exp opened this issue Apr 13, 2023 · 0 comments · Fixed by #3609
Assignees
Labels
bug Something isn't working
Projects

Comments

@Ash-exp
Copy link
Contributor

Ash-exp commented Apr 13, 2023

📜 Description

Unable to delete a permission group with assigned kubernetes response. It is due to casbin rules for assigned kubernetes resources with cluster access mappings are not getting deleted.

👟 Reproduction steps

  1. Go to Global Config Permission Group.
  2. Create a permission group and assign kubernetes resource access.
  3. Save the permission group.
  4. Now delete the permission group.

👍 Expected behavior

  1. On delete, the API should not respond success status if not deleted.
  2. Also the the permission group should get deleted when deleting.

👎 Actual Behavior

  1. The API responds with 200 OK status, when deleting the created permission group.
  2. Reload the Page, the deleted permission group still exists with the given access.

☸ Kubernetes version

Not Applicable

Cloud provider

Not Applicable

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

AB#2739

@Ash-exp Ash-exp added the bug Something isn't working label Apr 13, 2023
@Ash-exp Ash-exp added this to To do in devtron via automation Apr 13, 2023
@Shivam-nagar23 Shivam-nagar23 linked a pull request Jul 7, 2023 that will close this issue
7 tasks
devtron automation moved this from To do to Done Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
devtron
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants