Role-Based Auth – Part 2: User CRUD & Route Protection with Laravel Gates

Опубликовано: 13 Июнь 2026
на канале: CodingFromScratch
475
5

▶️ In this part:
We implement user management on the Laravel API and protect routes using Gate-based role checks.

✅ What’s covered:
Creating roles: admin, user
User CRUD API
Laravel Gates for route protection

🛠️ Stack:
Laravel 12
Sanctum

📺 Full Playlist:    • Role-Based Authentication with Laravel & R...  

🧠 This is part of the series:
"Role-Based Authentication with Laravel & React (Sanctum + Gates + CRUD)"

Video is silent with background music, focused on clean, distraction-free programming.

Source Code: https://github.com/damirpristav/role-...

00:00 - Intro
00:05 - Users CRUD
14:58 - Protect routes with Gates