Vote count:
0
In Laravel 5, I want to build an ACL system depends on resources conducted all potential urls. Assume, posts_* contains all privileges related to Posts. posts_get, posts_put or etc... To do this, I can detect module name (if would exist), controller and action name in Middleware and I should look up in a previleges array whether it is available or not in that. If exists in allowed, it can go forward. If not , system will deny request.
asked 21 secs ago
Laravel ACL based on Middleware
Aucun commentaire:
Enregistrer un commentaire