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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community