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

[feature] Show more about how Casbin matcher works (like matcher result for each policy) #120

Closed
hsluoyz opened this issue Jun 14, 2024 · 2 comments · Fixed by #121
Closed
Assignees
Labels
enhancement New feature or request released

Comments

@hsluoyz
Copy link
Member

hsluoyz commented Jun 14, 2024

The editor uses Node-Casbin's enforce() API to get the result, we can switch to use enforceEx() API: https://casbin.org/docs/api-overview/#enforceex-api

It provides an extra reason parameter for the result. We can show this reason in UI

@casbin-bot
Copy link
Member

@nodece

@casbin-bot casbin-bot added the question Further information is requested label Jun 14, 2024
@hsluoyz hsluoyz added enhancement New feature or request and removed question Further information is requested labels Jun 14, 2024
@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 15, 2024

🎉 This issue has been resolved in version 1.5.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
enhancement New feature or request released
Projects
2 participants