Loading player...

As part of Laravel v8.70, we can now chain a can() method directly off of a Route declaration. Let's review a quick example that provides a before and after illustration.

PoliciesBasic Authorization

Would you like to hear from Laracasts by email occasionally?