Support the ongoing development of Laravel.io →
Authentication Security
Last updated 1 year ago.
0

If this method works for you there is nothing wrong with it. Definitely if a whole page is blocked unless the user is an author then use filters. If it is just sections on the page there is nothing wrong with checking within the view.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

DevJMD devjmd Joined 19 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.