Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Apr. 19th 2017

Let's Build A Forum with Laravel and TDD: Authorization With Policies

Episode 24 Run Time 10:28

Download

We must be careful that we don't inadvertently give any registered forum user the ability to delete all threads. Let's create a policy class to ensure that this can't happen.

View the the source code for this episode on GitHub.