Comments (4)
Hello
I'm also not sure wether it will work in 3.x.
But if you have time to check this and create a PR, that would be awesome!
Anyway casl doesn't depend on feathers, so you are welcome to read documention and place required checks in appropriate places :)
Thanks for using CASL!
from casl-feathersjs-example.
In fact, I'm not even sure how to convert the existing system to feathersjs 3. The Hook system to check the role remains a bit mystical for me, especially the part where the Hook will call the service. CASL is incredible, but its integration into feathersjs is a bit more complicated. I think I'm going to wait for a version working on version 3 before I can analyze the code.
thank you for your work !
from casl-feathersjs-example.
I did a quick and dirty fork that upgraded it to v3 if anyone wants to take a look.
https://github.com/mattbradbury/casl-feathersjs-example
It's also a pull request on here.
My first github pull request!!!!
from casl-feathersjs-example.
closed by #7
Thanks for using CASL!
from casl-feathersjs-example.
Related Issues (7)
- doesnot work on `find` and `create` action HOT 3
- RangeError: Maximum call stack size exceeded HOT 5
- Nested document key example HOT 1
- hasToken(hook) does not return a correct value HOT 1
- How to manage channels and real time updates in this setup? HOT 2
- Question - Will this work with new version 4 of feathers? HOT 2
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 casl-feathersjs-example.