Course released: April 2020
Course length: 1 h 20 min
Laravel version: 7
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.
I consider myself a Laravel expert. Work with Laravel for around 6 years, sharing my thoughts on the YouTube channel "Laravel Daily": https://www.youtube.com/channel/UCTuplgOBi6tJIlesI...
I also have written a Laravel Daily Blog for 5+ years.
PreviewDefault Auth and Simple Middleware: Restrict Menu Item for Logged-in Users (7:38)
PreviewMulti-Tenancy: Every User Should See Only Their Articles (3:57)
StartUsers field "is_admin": Administrator User To Manage Categories (7:25)
StartThird Role - Publisher: Switching to Roles as Separate DB Table (10:10)