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

enforcer.deleteUser() wiped out all data from casbin_rule table #462

Open
mdg-mdrozd opened this issue Nov 10, 2023 · 1 comment
Open

enforcer.deleteUser() wiped out all data from casbin_rule table #462

mdg-mdrozd opened this issue Nov 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mdg-mdrozd
Copy link

Logged queries shows that following queries are executed when calling enforcer.deleteUser()

DELETE from casbin_rule WHERE ptype = 'p';
DELETE from casbin_rule WHERE ptype = 'g'; 
@casbin-bot
Copy link
Member

@nodece @Shivansh-yadav13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants