DEV Community

Discussion on: How to distinguish admin users from normal users?

Collapse
 
alchermd profile image
John Alcher

Hi!

I really don't have much to add, your approach is much flexible and clearer. I actually wrote a couple sentences how I used permission_users for "one-off" permissions, but then I deleted it after realizing you've explained it already by giving permissions through the business logic (policies and gates in Laravel). Which kind of defeats the point of my permissions_users table. I stand corrected!