Part 3/3 - How to use Roles and Permissions to protect routes with middleware in Laravel 10

  Рет қаралды 5,055

Funda Of Web IT

Funda Of Web IT

4 ай бұрын

In this video, we will see how to use these Roles and Permissions to manage and protect the routes in the Laravel application.
So basically, protecting routes means when a user is trying to access a certain route, to which he does not have permission, then we will not allow the user to access that route/page.
We will be covering Roles & Permission with:-
Route group middleware.
Middleware via Route.
Middleware via Controller.
How to use Custom created Middleware for roles and permission.
Blade Directives.
Blog post about Spatie user roles and permission: www.fundaofwebit.com/post/lar...
Laravel 10 Spatie User Roles & Permissions tutorial from Scratch
Part 1 - • Part 1/3: How to Insta...
Part 2 - • Part 2/3 - Roles & per...
Part 3 - • Part 3/3 - How to use ...
Follow us on Instagram: / funda_of_web_it
Subscribe to my Hindi/Urdu Channel: / fundaofwebithindi

Пікірлер: 25
@Radiosabines
@Radiosabines 2 ай бұрын
Sir, thank you , for all 3 videos, right now i understood how apply roles & permission in my Laravel 11 App
@amitramteke8710
@amitramteke8710 3 ай бұрын
Thank you for easy & detailed explanation
@MukeshKumar-pd6yv
@MukeshKumar-pd6yv 4 ай бұрын
It's amazing video, great Sir
@Dreams_On_the_way
@Dreams_On_the_way 2 ай бұрын
Thank you sir, It's helps alot.
@programing97
@programing97 3 ай бұрын
Thank you, my friend. We hope that you will build a commercial website for purchasing that includes a seller, a main supervisor, and a customer. Thank you again
@meeee884
@meeee884 4 ай бұрын
Now make a powerful e-commerce website sir with laravel 10
@expertshooter9330
@expertshooter9330 4 ай бұрын
he already made it and I already completed it with my own extra features... This man is a dimond... I learnt a lot of from him...
@user-bm8fe3tq4p
@user-bm8fe3tq4p 3 ай бұрын
Hi sir, Thank you for uploading such a worthy series. Can you please upload a video on stripe payment integration just like you did for paypal?? It will be very helpful for my FYP. Kindly help me in this regard.
@user-vo4wn7ph4d
@user-vo4wn7ph4d 4 ай бұрын
great bro
@user-yp9gx1cw6b
@user-yp9gx1cw6b 4 ай бұрын
can you make a video showing how i can log user activities
@sallemihabib8637
@sallemihabib8637 3 ай бұрын
please make a video of the team multy-teancy package
@Web-abhi-coder
@Web-abhi-coder 4 ай бұрын
sir i wach your playlist make a blog website using php and msql ,this video is super and easy to undstand,please make a maintenance mode with website. please sir this is my humble request.🙏🙏🙏🙏🙏🙏🙏🙏🙏
@johnston777
@johnston777 2 ай бұрын
dear sir, i have a case, user have super-admin role which have all permissions, and the second role is normal admin which don't have permission to update user. the user can see the edit button, but can't access it, does the role conflict each other? how to solve it? @can('update user') Edit @endcan
@manishkushwaha-je6xy
@manishkushwaha-je6xy 3 ай бұрын
Please make other videos sir.
@HaiderTeacher-ln7ex
@HaiderTeacher-ln7ex Ай бұрын
how to use it in laravel 11
@alonegamer8109
@alonegamer8109 3 ай бұрын
i have a challenge for you. can you do make a video on dynamic form creation ? where a user is given a form and on that form's basis the user can create a table and also insert data into it. the first form creates a second form for user to enter the details inside it. can you do this ? i can not find this on whole internet. even ai is not able to do this. it is only able to let user create a table and insert data. if you can do this i would really be damned. i have seen the form myself on a website which i can not discuss here.
@user-bv3ze5tm6r
@user-bv3ze5tm6r 4 ай бұрын
hello sir, how do you get the login user page? mine doesn't show it. have you added it before the vid?
@FundaOfWebIT
@FundaOfWebIT 4 ай бұрын
Login page is coming after installing the Laravel Breeze package - as i have taught here : kzbin.info/www/bejne/o6q2aXSpn62GpbM
@tareq-uy2nb
@tareq-uy2nb 4 ай бұрын
It is better to have php and mysql and only bootstrap 👍
@dsdgaming2242
@dsdgaming2242 3 ай бұрын
Great Tutorial Sir. Is there any github for this tutorial sir?
@FundaOfWebIT
@FundaOfWebIT 3 ай бұрын
Here's the link : www.fundaofwebit.com/post/laravel-10-spatie-user-roles-and-permissions-tutorial
@dsdgaming2242
@dsdgaming2242 3 ай бұрын
@@FundaOfWebIT Thank You sir. You've been a great help. You're awesome, thank you for your hard work ♥️
@ammadmaddy
@ammadmaddy 2 ай бұрын
that's not the dynamic approach. If user want to give/take access directly using the UI. It won't work because you are assigning the roles statically in routes using middleware.
@FundaOfWebIT
@FundaOfWebIT 2 ай бұрын
In this video with the shown demo, the dynamic is not required and not satisfied. If want the dynamic approach, then you have to develop such scenario/module so you can handle it inside your controller for the roles or permission with Authorization & Gates.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 325 М.
Why Don't We Have A Laravel For JavaScript?
12:36
Theo - t3․gg
Рет қаралды 87 М.
Mastering Laravel 11 Roles and Permissions: A Comprehensive Guide
18:46
Code With ERaufi
Рет қаралды 2,9 М.
Junior Code Review: Laravel Routes, Middleware, Validation and more
19:57
Get started with Laravel and Postgres using Supabase.
12:45
Supabase
Рет қаралды 3,3 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 27 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 236 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 240 М.