I am trying to implement an application where there are different types
of users (about 5-6). The privileges of each type of user varies pretty
drastically and hence when each logs into the application, each will
have his own home page and set of things that he can do that differs
from other types of users.
Since the views would also change (or rather look totally different) for
each of them, I thought it would be better to have totally different
controllers and actions based on the type of users. I have been reading
about how to design this kind of an scenario but have not been able to
stumble upon a sound design as of now. There was one reference to
namespaced controllers… do you think this would be the best approach
for the situation in hand. If you know of any tutorial, that would be
Plus, I see that a lot of my actions don’t fall just within the CRUD
actions, I need more… can some lead me to design tips or tutorials for
such a thing too? Any help is appreciated. Thanks in advance!