I have an Laravel back-end API with Angular front-end using JWT tokens.
All is fine to this point. Now the site has 3 "groups" buyer, seller, and 
admin roles.

I am just trying to figure out when any of these users logs in how can i 
display the proper dashboard?

Each role has different permissions, access to different back-end functions 
so I created 3 dashboard interfaces rather then a multitude of if 
statements jammed into 1 dashboard to display based on the users role

partials/buyers/dashboard.html
partials/sellers/dashboard.html
partials/admin/dashboard.html

How can I properly and securely accomplish this?

I have no code as I have no idea where to start with this?

Any ideas, assistance, pointers, or tutorial would be appreciated.

Thanks all,

Dave 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to