Comments (6)
from casbin.js.
You can directly use node-casbin.
from casbin.js.
Where? How?
I mean
I'm making a frontend and using your Authorizer class to manage permissions. If I have to use node-casbin it means that I have to do the "can/cannot" methods by myself, right?
Or is a backend issue? (Even if I've tested with your golang library and it doesn't work)
Or should I have to use Node as my backend?
from casbin.js.
@GhostyJade Node-Casbin is also available for frontend project.
As for now, casbin.js is just a wrapper for node-casbin.
You can turn to node-casbin and use enforce() API instead.
It's possible to implement what you asked for. But you may have to wait a while.
from casbin.js.
Thanks for the additional information, I'm gonna try it now.
from casbin.js.
I've decided for now to integrate casbin using the manual approach, since it works without any issues.
I think that I can close this issue.
from casbin.js.
Related Issues (20)
- TypeError: can't access property "toString", args[2] is undefined HOT 9
- Golang backend ( CasbinJsGetPermissionForUser ) not working with casbin.js ( react ) HOT 5
- Why the dependabot in this repo doesn't follow semantic-pr in title? HOT 5
- Remove browser API (like window object) to support Server-Side Rendering (Node.js) HOT 1
- Fix NPM dependency registry error in CI HOT 5
- Dependency issues in Angualr HOT 21
- A simple and easy to use casbin.js library for Vue based HOT 5
- Documentation on different modes using Authorizer.can() HOT 2
- can() returns an incorrect value HOT 2
- [frontend] casbinjs.Authorizer is not a constructor
- Authorizer is not exported HOT 5
- casbin.js v0.4.1 not working with react-scripts 5 HOT 7
- Module not found: Can't resolve 'fs' HOT 3
- Error in casbin.js advanced usage. HOT 11
- The automated release is failing 🚨 HOT 2
- Error in casbin.js advanced usage - Uncaught (in promise) Error: Enforcer not initialized HOT 9
- Behavior of client side casbin service HOT 5
- casbin-core HOT 1
- CasbinJsGetPermissionForUser API for Laravel HOT 1
- CasbinJsGetPermissionForUser API for JAVA HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casbin.js.