Delete the group API interface bug
See original GitHub issueWhen using this interface enforcer. RemoveNameGroupingPolicy (" g ", “role1”) to delete group, database data deleted successfully, but cached data is still there.
POM
<dependency>
<groupId>org.casbin</groupId>
<artifactId>jcasbin</artifactId>
<version>1.21.0</version>
</dependency>
<dependency>
<groupId>org.casbin</groupId>
<artifactId>jdbc-adapter</artifactId>
<version>2.2.1</version>
</dependency>
Execute Code
Adapter
Datebase & Cache
Issue Analytics
- State:
- Created a year ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
44 - Support for deletion of groups by REST API - gerrit
Users (or at least Administrators) should be able to delete groups through the web UI, especially if the group is never used in...
Read more >Cannot remove groups from users using the REST API /rest ...
Trying to remove groups from users in JIRA through the rest API /rest/api/2/group/user endpoint results in the following error "Cannot edit group ......
Read more >ROLE AND GROUP DELETION USING REST API NOT ... - IBM
When using a REST GRC API DELETE call to remove a role from the user or user from the group, the call resolves...
Read more >Cannot delete Group - Progress Community
Trying to move sub groups from dynamic group and delete root dynamic group then. Error message appears which says "Failed to delete group"....
Read more >DeleteGroup - AWS Resource Groups
Deletes the specified resource group. Deleting a resource group does not delete any resources that are members of the group; it only deletes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Memory63 As I said above, the implementation of
jdbc-adapter
is wrong. We will fix it later. Could you @imp2002 fix it?OK, i will fix it.