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 the bug that matchingForGFunction and matchingDomainForGFunction can affect the logic of role matching and domain matching #189

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

HashCookie
Copy link
Contributor

Fix: #184

Reason

  • matchingForGFunction and matchingDomainForGFunction can affect the logic of role matching and domain matching, potentially leading to results that do not align with expectations.

Resolve

  • Remove the default loaded matchingForGFunction and matchingDomainForGFunction.
image

Copy link

netlify bot commented Jan 5, 2025

Deploy Preview for casbin-editor ready!

Name Link
🔨 Latest commit ab1452a
🔍 Latest deploy log https://app.netlify.com/sites/casbin-editor/deploys/677a4703cb66120008ea5c9a
😎 Deploy Preview https://deploy-preview-189--casbin-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hsluoyz hsluoyz changed the title fix: The result for Node-Casbin and jCasbin is different feat: fix the bug that matchingForGFunction and matchingDomainForGFunction can affect the logic of role matching and domain matching Jan 5, 2025
@hsluoyz hsluoyz merged commit df62f3c into casbin:master Jan 5, 2025
10 of 11 checks passed
@hsluoyz
Copy link
Member

hsluoyz commented Jan 5, 2025

🎉 This PR is included in version 1.36.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.

[bug] The result for Node-Casbin and jCasbin is different
2 participants