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

fix: fix ABAC rule with attribute that does not exist #333

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

imp2002
Copy link
Member

@imp2002 imp2002 commented Feb 7, 2023

Fix: #332

Rule with attribute not exist in object will throw exception, but no catch cause the error of #332. When exception is throw, eval should return false, then check the next one policy of ACL.

Signed-off-by: imp2002 <imp07@qq.com>
@casbin-bot
Copy link
Member

@tangyang9464 please review

@hsluoyz hsluoyz merged commit 424486f into casbin:master Feb 7, 2023
@github-actions
Copy link

github-actions bot commented Feb 7, 2023

🎉 This PR is included in version 1.32.2 🎉

The release is available on:

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.

issue about ABAC for multiple and dynamic attribute object
3 participants