Symfony 5 Authentication Tutorial - Symfony Voters - Permission Based Access Control
Gary Clarke via YouTube
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to implement permission-based access control in Symfony 5 using voters in this 21-minute tutorial. Explore the process of limiting user actions based on permissions for specific subjects, such as determining if a user can view an account. Discover the power and simplicity of Symfony voters as you follow along with practical examples. Create an Account entity, review its structure, and implement show and delete methods with proper access control. Gain insights into permissions, roles, and the Account Voter concept. Access the provided source code and Symfony security documentation for further reference. While originally recorded for Symfony 5.2, the tutorial remains applicable with minor adjustments for newer versions.
Syllabus
Introduction
Disclaimer
Create Account Entity
Review Account Entity
Show Method
Permissions Explained
Roles Explained
Account Voter
Deleting an Account
Testing
Taught by
Gary Clarke