I would recommend using the kodeine-acl package its easy to set up and works really well
May 5, 2015
7
Level 4
Login ACL - multiple types of user logins
Good day,
I am building a web app that have different types of users that will obviously have access to different areas of the back end.
So for example - by types of users I mean:
- Teacher => where each admin will have access to all the Admin assigned areas
- Student => where each student will have access to only the Student area of back end where he/she will be able to see their own reports/data and not those of other students.
So for my Model I need advise.
Would it be sufficient if I use the current Laravel 4 "Users" model and perhaps have an usertype field?
I also have not done ACL before and would love to use the following article as a base: http://ollieread.com/blog/2014/03/18/a-simplified-laravel-acl/
But what would be the best approach? Please advise.
Kind regards
Please or to participate in this conversation.