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: fix role manager cache error when LoadPolicy and Enforce calls are concurrent #1387

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

mohuishou
Copy link
Contributor

@mohuishou mohuishou commented Apr 29, 2024

Fix: #1386

@casbin-bot
Copy link
Member

@tangyang9464 @JalinWang please review

@CLAassistant
Copy link

CLAassistant commented Apr 29, 2024

CLA assistant check
All committers have signed the CLA.

@mohuishou mohuishou changed the title fix: role manager cache error when LoadPolicy and Enforce concurrent #1386 fix: role manager cache error when LoadPolicy and Enforce concurrent Apr 29, 2024
@hsluoyz hsluoyz changed the title fix: role manager cache error when LoadPolicy and Enforce concurrent feat: fix role manager cache error when LoadPolicy and Enforce calls are concurrent Apr 29, 2024
@hsluoyz hsluoyz merged commit 44b890d into casbin:master Apr 29, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Running Enforce and LoadPolicy concurrently can lead to cached errors in role-user relationships
4 participants