Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Laracasts

Mastering Permissions in Laravel

via Laracasts

Overview

User authorization is one of the most complex systems to build in your application, but also one of the most essential. From setting up role-based access and custom policies to exploring advanced permissions - and group-based authorization - you’ll gain the skills needed to build secure, scalable applications. Join me as I guide you through everything required to incorporate a robust user authorization system into your application.

Syllabus

  • Authorization Basics
    • The Admin Column
    • Using Gates
  • Building a Roles-Based System
    • Implementing Role-based Access System
    • Creating Middleware to Guard Routes
    • Making Custom Directives
    • Loading Roles Into Context
  • Using Policies
    • Creating Policies
    • Defining and Using Abilities
    • Completing the Policy
    • Managing Roles
    • Protecting Roles
  • Permissions/Claims and Groups
    • Transitioning to Permissions
    • Implementing Groups
    • Assigning Users to Groups
    • Loading Permissions Into Context
    • Implementing Negative Permissions
    • Using Enums

Taught by

Jeremy McPeak

Reviews

Start your review of Mastering Permissions in Laravel

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.