I am currently looking at building SaaS construction management tool. What I was wondering is if I used laravel passport for the api token how can I assign roles to users For example:
SuperAdmin: Can create projects | Can create new users and assign roles to user.
Admin: Can view projects.
Because I would like to be able to hide elements on my front end based upon a users permissions.
For example if I did a traditional laravel app I could use entrust and use blade directives @role('admin') to show elements based on a users permission type.