Practical Roles and Permissions in Laravel
Salepage : Practical Roles and Permissions in Laravel
Archive : Practical Roles and Permissions in Laravel Digital Download
Delivery : Digital Download Immediately
Laravel has a great Auth system out-of-the-box, but for more complex applications we need something extra – user roles, permissions and restrictions. In this pretty quick course, we will take a new Laravel blog project and will go on a journey with these steps:
– Default Auth
– Administrator role
– Separate Roles table and Publisher role
– Laravel Gates and Policies
– Organizations and multi-organizational users
– Packages to save permissions in DB
In this course, I expect that you already are familiar with Laravel basics, and you’re ready to get some practical knowledge.
Your Instructor
Povilas Korop
I consider myself a Laravel expert. Work with Laravel around 6 years, sharing my thoughts on YouTube channel “Laravel Business”:
https://www.youtube.com/channel/UCTuplgOBi6tJIlesI…
I also have written a Laravel Daily Blog for 5+ years.
Course Curriculum
Basic Auth and Roles
Preview
Default Auth and Simple Middleware: Restrict Menu Item for Logged-in Users (7:38)
Preview
Multi-Tenancy: Every User Should See Only Their Articles (3:57)
Start
Users field “is_admin”: Administrator User To Manage Categories (7:25)
Start
Third Role – Publisher: Switching to Roles as Separate DB Table (10:10)
From Roles to Permissions
Preview
Preparation for Gates: Automated Tests to Make Sure We Don’t Break Anything (7:39)
Start
Switching from Roles to Laravel Gates to Avoid Repeating Code (3:56)
Start
Laravel Policies: Inform Users They Don’t Have Access to Certain Records (3:50)
From Single to Multiple Organizations
Start
Register New User in Organization and See Organization’s Articles (7:57)
Start
User in Multiple Organizations and Switching Between Them (15:09)
Start
Multiple Organizations with Different Role in Each Organization (6:56)
Bonus
Start
Packages to Save Permissions in DB: Spatie Permissions or Bouncer (5:16)
More from Categories : Everything Else
Reviews
There are no reviews yet.