Skip to content
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

CASL Examples of integration in X framework #5

Closed
7 tasks done
stalniy opened this issue Jul 26, 2017 · 12 comments
Closed
7 tasks done

CASL Examples of integration in X framework #5

stalniy opened this issue Jul 26, 2017 · 12 comments

Comments

@stalniy
Copy link
Owner

stalniy commented Jul 26, 2017

@akaNightmare
Copy link

  • Vue

@elixiao
Copy link

elixiao commented Sep 29, 2017

  • Angular2+ integration

@stalniy
Copy link
Owner Author

stalniy commented Nov 20, 2017

@stalniy
Copy link
Owner Author

stalniy commented Jan 25, 2018

integration with React https://github.com/stalniy/casl-react-example, the article is coming soon

@stalniy
Copy link
Owner Author

stalniy commented Feb 2, 2018

the article about React will be published on 5th Feb

@stalniy
Copy link
Owner Author

stalniy commented Feb 5, 2018

ACL in React

@stalniy
Copy link
Owner Author

stalniy commented May 14, 2018

@stalniy
Copy link
Owner Author

stalniy commented May 14, 2018

CASL with Vue and Vuex repo - https://github.com/stalniy/casl-vue-api-example

@stalniy stalniy changed the title Examples of integration in X framework CASL Examples of integration in X framework Jul 11, 2018
@mrV25
Copy link

mrV25 commented Jul 23, 2018

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.

@stalniy
Copy link
Owner Author

stalniy commented Jul 24, 2018

@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

@stalniy
Copy link
Owner Author

stalniy commented May 4, 2019

https://github.com/stalniy/casl-angular-example example for Angular. Plan to publish an article about it in a week

@stalniy
Copy link
Owner Author

stalniy commented May 14, 2019

@stalniy stalniy closed this as completed May 14, 2019
stalniy added a commit that referenced this issue May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants