Hey people, I've some question to ask and i need some help and guidance and your expertise advises. If i were to have 3 kinds of users, Merchant, Admin and users which they have their own specific things that they could do. Creating 3 tables will it be a good idea? Put it in short about this 3 types of users. Admin sees all, Customer only could see product that merchants posted. The 3 types of user has different kinds of database fields that are required.
If it's necessary to have 3 different tables, how laravel can do to authenticate them at a different table and knowing that there's role in them.
After being authenticated, how do i filter out the pages. Users can't access the admin page and merchant can't access the admin's . Do i have to type in manually in every single routes and every single controller?
Thanks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community