Is this the best NodeJS Authorization Library? | CASL JavaScript Tutorial

preview_player
Показать описание
In this video we take a look at a fairly popular authorization library: CASL. You can use this solution both on the server side, perhaps on a Node JS Express API, and on the client side like in React or Vue JS. We'll discuss the basics of how to use and how to define abilities for a given user's permission in an application.
Рекомендации по теме
Комментарии
Автор

Note: if you're using the newest version of CASL the Ability class is deprecated, instead you now have to use createMongoAbility

const { can, cannot, build } = new

mariusespejo
Автор

Very simple yes detailed enough explanation. You saved me multiple hours. Thank you 😊

VijayVerma-dqbu
Автор

This is amazing!, thank you so much for sharing the knowledge!, It would be good to see an example of how to use this with react, and render different UI content based on roles.

HernaW
Автор

All tuned up for the dynamic permissions in Nest, official docs are a bit unclear on that regard. Keep up the good work, dude.

MrBatocko
Автор

Been looking forward to this one Marius!

foofighterdaz
Автор

Yet another clear, concise, well delivered video. Really appreciate your time, Marius!

timothymm
Автор

thank you, looking forward for the next one 🔥

pranjalsoni
Автор

Thanks! I'm looking for role-based authorization and this video is helpful for implementing it

omkarw
Автор

Great overview of the library! Curious how did you get the repl behavior with the inline errors etc inside of your code editor? Is that a plug-in?

mgan
Автор

cool! after nestjs, the one is express with this cacl is nice btw

DioArsya
Автор

as always, great explanation .... thanks for the vid

guhkunpatata
Автор

great and simple explaination bro
thanks alot bro😇😇

junaid_arif
Автор

Thanks, great content. I'll start learning but this vídeo was a great start point.

GustavoCardoso
Автор

Thanks bro, waiting for nestjs usage too ❤️What if you additionally connect a database to better understand the communication between casl-nestjs and a db?

mraiorigin
Автор

Thanks dude for this awesome tutorial. Please also cover the following:
1. @casl/prisma
2. @casl/react

bablukpik
Автор

Would love a cover video about casl vue

DragosBurciu
Автор

Great video and explanation. Could you explain how can we manage dynamic assignment and un assignment? E.g. user was give access to edit Post from the frontend by admin and then revoked?

sksflier
Автор

Amazin video, can u pls do a tutorial teaching how to use this in the frontend with ReactJS?

bzsfps
Автор

I'd love you to cover casl/vue in a following video. I'm having some troubles implementing it and I'd really appreciate it

ivdrip-rr
Автор

Wonderful video thank you very much. What is your vs code setup?

isurumaldeniya
welcome to shbcf.ru