Armani
3 months ago
549
5
Laravel

Laravel Permission

Posted 3 months ago by Armani

I protected my web app by permission, I know that you have to use combination of Roles and Permissions, but I just made a table for permission and a pivot table for permission_user.

So I can get the permissions of each user from pivot table and it works fine.

My question is that: my way is better or using Role and Permissions together?

Thanks

Please sign in or create an account to participate in this conversation.