Skip to content

fix(admin-ui): resolve issue preventing deletion of capabilities#2303

Merged
moabu merged 7 commits intomainfrom
admin-ui-issue-2270
Oct 6, 2025
Merged

fix(admin-ui): resolve issue preventing deletion of capabilities#2303
moabu merged 7 commits intomainfrom
admin-ui-issue-2270

Conversation

@faisalsiddique4400
Copy link
Contributor

fix(admin-ui): resolve issue preventing deletion of capabilities

📝 Description

Fixes a bug in the Admin UI where deleting capabilities resulted in an error. This occurred when attempting to remove both newly created and existing capabilities. The deletion process now works as expected.

🔄 Changes Made

  • Fixed capability deletion logic in Admin UI.
  • Ensured compatibility with backend endpoint requirements.
  • Add logic for checking permission mapped in the roles for proper error handling.
  • Improved error handling for invalid capability identifiers.

✅ Expected Behavior

  • Users should now be able to successfully delete both new and existing capabilities without errors.

🔗 Ticket

Closes: #2270

@mo-auto mo-auto added comp-admin-ui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Sep 30, 2025
Copy link
Contributor

@duttarnab duttarnab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One simple change mentioned in inline comments.

faisalsiddique4400 and others added 2 commits October 3, 2025 14:26
Signed-off-by: Faisal Siddique <71010439+faisalsiddique4400@users.noreply.github.com>
moabu
moabu previously approved these changes Oct 3, 2025
duttarnab
duttarnab previously approved these changes Oct 3, 2025
duttarnab and others added 2 commits October 3, 2025 17:13
Signed-off-by: Faisal Siddique <71010439+faisalsiddique4400@users.noreply.github.com>
@faisalsiddique4400 faisalsiddique4400 dismissed stale reviews from duttarnab and moabu via dab2860 October 6, 2025 09:30
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2025

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2025

@moabu moabu merged commit 3b02b09 into main Oct 6, 2025
8 checks passed
@moabu moabu deleted the admin-ui-issue-2270 branch October 6, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-admin-ui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(admin-ui): unable to delete capabilities

4 participants