murze.be: ★ When to use Gate::after in Laravel

  • You are here: Free PHP » Uncategorized » murze.be: ★ When to use Gate::after in Laravel

In a Laravel app policies are a great way to organize authorization logic that revolves around models. For the longest time, I've been using Gate::before to allow superadmins to do anything they want. While working on a new app, it finally clicked how Gate::after can be useful too. I'd like to shar...

Powered by Gewgley