NestJs RBAC - Role Based Authorization Tutorial
This NestJs RBAC tutorial will cover everything you need to know about role-based authorization and access control. You'll learn the difference between RBAC and ABAC, how to implement NestJs access control using roles and permissions, and a real-life NestJs RBAC example in action.
We'll also explore attribute-based access control and RBAC access control, so you can choose the best approach for your application.
Whether you're a seasoned NestJs developer or just getting started, this tutorial is the ultimate guide to NestJs RBAC.
NestJs Essentials Course: courses.codewithvlad.com/p/ne...
Project Repository: github.com/vladwulf/cwv-nestj...
Chapters
00:00 RBAC Introduction
00:55 What is RBAC is why it's useful
01:35 RBAC vs ABAC vs IBAC
02:45 Project Overview
24:00 Outro
Пікірлер: 34
Vlad we need you back! Best nestjs youtuber out there
Hey vlad, you are one of the best teachers when it comes to Nest.js, can you please teach us more advanced topics such as microservices?
You deserve more subscribers. Perfect explanations
Glad you're back at it ❤️
Welcom back Sir we missed you
Thats amazing course thanks a lot, I have never seen better than that explanation
You are a legend Vlad, thanks!
Thanks a million, Vlad!
Thank you so much for the video, I was waiting for this for a long time.
@CodeWithVlad
Жыл бұрын
My pleasure!
Keep going Vlad!
great video as always!!
Hi Vlad, can you please make a tutorial for microservice architecture maybe with gRPC for communication. Something like auth and bookmarks but in a separate microservices. This would be very helpful, thanks.
Setup looks so cool keep uploading sir 🎉🎉
@CodeWithVlad
Жыл бұрын
Thanks ✌️
I've been waiting for this 🚀🚀 thank you vlad 🙇 hopefully some HTTP only cookie tutorials 🙏
@CodeWithVlad
Жыл бұрын
Thank you for the support and the suggestion! I will be away for a week or so but will plan a video on the subject when I come back.
I am interested in ABAC example, please do a video on that. Thank you Vlad for all the great videos, I am learning a lot to be a better developer. I am trying to build an application where the roles and permissions are dynamic, sort of how AWS provides, should be able to create new roles, assign permissions to it and assign roles to users. So, can't have roles hard coded in the app, instead should derive it from what is in the DB.
Awesome
Please explain how ui is managing the roles and their data.
Hi Vlad, can you do ABAC please?
Finally ur back. Vlad, would you mind to look at on how to connect Nest.js + Nextjs or Astro? I really hate the Nextjs's backend...
@CodeWithVlad
Жыл бұрын
That would work almost like a normal react app. What use case are you trying to use Nextjs for?
Hey, how did you create the monorepo project for both apps?
As the documentation is updated and in authentication we can use execution context and reflector for our custom decorator. I've created authentication using that. Now I'm stuck. I've a user entity which takes role id and role entity have role_name and role_type. Role type is enum. Now i want to make a guard which takes role type and allow access based on that. How can I strip that role type based on role id in users and in role controllers too.
Hi Vlad,can you do video about nestjs microservice with docker pls?You are very good teacher!
@CodeWithVlad
Жыл бұрын
Thanks for the suggestion Dima. I’ll add it to my list
Hi, reallly nice but it's not possible to do it a controller level ?
Thanks for this video. But can you make music a little bit quieter 🙂. It's a bit of a distraction
Prisma part confused me, as I'm a beginner I started with typeorm
scaling session with redis isn't working i followed your pdf please can you update code for us been trying to fix but failed so can you please fix with latest versions of library used
@CodeWithVlad
Жыл бұрын
Sorry to hear that. I will look into it this week and update the pdf.
Hey, Vlad. Do you plan to keep making cool content about NestJS ?
@CodeWithVlad
9 ай бұрын
Yes! Sadly got sidetracked with my AI startup as there was a ton of work. Next month I should be able to dedicate more time to the channel