Support the ongoing development of Laravel.io →
Security Validation Architecture
Last updated 2 years ago.
0

anyone?

0

you should use middleware.. i am not sure what knd of flexibility you would want by giving users two choices:

  1. either view/update/delete a note (that belongs to them)
  2. give an error if it doesnt..

maybe for other things middleware isnt the way to go.. but right now it seems a good bet to use it.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

vmunich vmunich Joined 20 Mar 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.