-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Question] using eval() and no polices added, the admin won't be check #1334
Comments
@BERZERKCOOLeST Casbin is based on policy rule matching. It means you need to have at least one "p" (policy rule) in matcher See about how Casbin works: https://casbin.org/docs/understanding-casbin-detail/#visual-representation-of-the-acl-model-policy-and-request-matching |
it returns the error now even that sub is a admin, how to deal with this?
The text was updated successfully, but these errors were encountered: