New answers tagged

0

I would make a dynamic scope in the model (https://laravel.com/docs/5.1/eloquent#query-scopes) which gets as input the permission and modifies the query select to return only the allowed fields for specific permission.



Top 50 recent answers are included