We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Want to prioritize this issue? Try:
Describe the bug
The are several parts in the code where instead of calling the objects through the interface the object is being cast to a specific implementation.
Places where you can find the issue:
To Reproduce Steps to reproduce the behavior:
GetNamedImplicitPermissionsForUser
interface conversion: rbac.RoleManager is *autz.RoleManager, not *defaultrolemanager.RoleManager
Expected behavior
The function should be called through the interface
Desktop (please complete the following information):
macOS 12.6
github.com/casbin/casbin/v2 v2.54.0
The text was updated successfully, but these errors were encountered:
@tangyang9464 @JalinWang
Sorry, something went wrong.
Thanks! Disentanglement definitely should be done. I'll try to make the interface more general.
hsluoyz
Successfully merging a pull request may close this issue.
Want to prioritize this issue? Try:
Describe the bug
The are several parts in the code where instead of calling the objects through the interface the object is being cast to a specific implementation.
Places where you can find the issue:
To Reproduce
Steps to reproduce the behavior:
GetNamedImplicitPermissionsForUser
interface conversion: rbac.RoleManager is *autz.RoleManager, not *defaultrolemanager.RoleManager
Expected behavior
The function should be called through the interface
Desktop (please complete the following information):
macOS 12.6
github.com/casbin/casbin/v2 v2.54.0
The text was updated successfully, but these errors were encountered: