-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support for roles in auto mode #54
Comments
You can directly use node-casbin. |
Where? How? I mean Or is a backend issue? (Even if I've tested with your golang library and it doesn't work) |
@GhostyJade Node-Casbin is also available for frontend project. |
Thanks for the additional information, I'm gonna try it now. |
I've decided for now to integrate casbin using the manual approach, since it works without any issues. |
I'm trying to integrate casbin.js for a ReactJS app that needs to have roles but it seems that this library can't support roles. (I've tested with permissions and it works)
I've tried using golang (using CasbinJsGetPermissionForUser to retrieve data) and C# (with CasbinJsGetPermissionForUser defined as a custom function) as backend to test if was my implementation issue or not.
I've used the default RBAC model.conf file and both MSSQL database and default csv file for policies
I'm using the latest version of both casbin.js and node-casbin as dependencies.
Now I ask, is this a missing feature or a bug?
Thanks in advance.
The text was updated successfully, but these errors were encountered: