-2
In my application I have 3 distinct areas:
Admin
Where everything is managed, currently the authentication is done by Sentry (very good by the way). For this area I have the Users model that communicates with the database.
Students
Where the student has access to a wide range of data and tools.
Officials
Where the student’s guardian enters to manage their payments and data.
Each of them has its own model/table and format
I really can’t figure out how to solve this problem.
What exactly is the problem? Authentication itself with multiple models? In this case, the question seems even duplicated, as Ernandes pointed out.
– bfavaretto
That’s really it, I had not found this question before, so I decided to post it.
– vinicius73