An article for Vue https://medium.com/@sergiy.stotskiy/vue-acl-with-casl-781a374b987a
integration with React https://github.com/stalniy/casl-react-example, the article is coming soon
the article about React will be published on 5th Feb
CASL with Vue and Vuex repo - https://github.com/stalniy/casl-vue-api-example
Hi, thanks a lot for providing example for React,
but still is it possible to give an separate example for React + Redux?
To be honest I just have a problem updating rules on user login event,
and how to use Ability.update in general,
in understanding how Ability persists in our app.
Sorry if this is off-topic,
and if you have no time for this implementation,
just reply something like "have no time for this",
so I will move on to something custom.
@mrV25 you can check how I did this for Vuex in this repo https://github.com/stalniy/casl-vue-api-example . Also you can find useful explanations in this article https://medium.com/@sergiy.stotskiy/casl-and-cancan-permissions-sharing-between-ui-and-api-5f1fa8b4bec
Currently I don't plan to write an article about React and Redux, probably a bit later I will publish a book about CASL with recipes for different integrations and requirements
https://github.com/stalniy/casl-angular-example example for Angular. Plan to publish an article about it in a week
article for Angular https://medium.com/@sergiy.stotskiy/managing-user-permissions-in-angular-application-504c83752f83
Most helpful comment