π Symfony Security Basics #14 Hiding an action a user can't access is good UX, but it's not security! Let's enforce our voter permissions in the controller, then give admins the power to bypass them.
symfonycasts.comDenying Access with a VoterIntroduces Symfony voters as the mechanism for denying or allowing access based on custom authorization logic beyond simple roles.
1 repost1 like