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

feat: CachedEnforcer does not clean the result cached in memory when call ClearPolicy method #1413

Conversation

cococolanosugar
Copy link
Contributor

CachedEnforcer does not clean the result cached in memory when call ClearPolicy method

@casbin-bot
Copy link
Member

@tangyang9464 @JalinWang please review

@hsluoyz
Copy link
Member

hsluoyz commented Jun 16, 2024

@cococolanosugar fix the two errors:

image

image

@cococolanosugar cococolanosugar force-pushed the bugfix/fix_cached_enforcer_clear_policy_bug branch from cb1ef26 to 83d3012 Compare June 16, 2024 13:43
@cococolanosugar
Copy link
Contributor Author

review again please.

@cococolanosugar cococolanosugar changed the title fix cache bug for CachedEnforcer fix: CachedEnforcer does not clean the result cached in memory when call ClearPolicy method Jun 17, 2024
@hsluoyz hsluoyz changed the title fix: CachedEnforcer does not clean the result cached in memory when call ClearPolicy method feat: CachedEnforcer does not clean the result cached in memory when call ClearPolicy method Jun 17, 2024
@hsluoyz hsluoyz merged commit 71c8c84 into casbin:master Jun 17, 2024
11 checks passed
Copy link

🎉 This PR is included in version 2.97.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants