Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Practical Roles and Permissions in Laravel
Basic Auth and Roles
Default Auth and Simple Middleware: Restrict Menu Item for Logged-in Users (7:38)
Multi-Tenancy: Every User Should See Only Their Articles (3:57)
Users field "is_admin": Administrator User To Manage Categories (7:25)
Third Role - Publisher: Switching to Roles as Separate DB Table (10:10)
From Roles to Permissions
Preparation for Gates: Automated Tests to Make Sure We Don't Break Anything (7:39)
Switching from Roles to Laravel Gates to Avoid Repeating Code (3:56)
Laravel Policies: Inform Users They Don't Have Access to Certain Records (3:50)
From Single to Multiple Organizations
Register New User in Organization and See Organization's Articles (7:57)
User in Multiple Organizations and Switching Between Them (15:09)
Multiple Organizations with Different Role in Each Organization (6:56)
Bonus
Packages to Save Permissions in DB: Spatie Permissions or Bouncer (5:16)
Switching from Roles to Laravel Gates to Avoid Repeating Code
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock