Hi, regarding all the gate permissions of product which were defined in the seeder file, according to laravel doc, these permission have to be defined in boot method of the service provider but when I check the source code in the repo. I don't see where these ones were defined.
For example:
In the App\Http\Controllers\Admin\ProductsController, action index, product_access permission
In this project, pemissions are seeded into the database, and then transformed into the Gates with Middleware: source - this is code from our QuickAdminPanel.
Hi, regarding all the gate permissions of product which were defined in the seeder file, according to laravel doc, these permission have to be defined in boot method of the service provider but when I check the source code in the repo. I don't see where these ones were defined.
For example: In the App\Http\Controllers\Admin\ProductsController, action index, product_access permission
I wonder where you define the logic of 'product_access' gate permission in the code? Thank you
In this project, pemissions are seeded into the database, and then transformed into the Gates with Middleware: source - this is code from our QuickAdminPanel.