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

Your gate (permission) definition is the first step, then the permission check in either a Middleware (which is preferable in most cases), or a model Policy gives you opportunity to perform additional checks.

If you want more control and to store everything in the DB, you may want to check the Entrust Package.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

yurtesen yurtesen Joined 24 May 2016

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.