ok here is my issue...
user habtm groups(roles)
i have views for admins, boardmembers, managers, and vps.
so when an user have just one role the app reads the role and we're going fine... BUT when he/she/it have two or more roles it just take the first one and dissmiss the others...
the questions
- how should i manage those role so the user can choose what view to see?
- should i tell the user what role he wants to play after login? Ex: made him decide (want's to play admin, want's to play manager, etc)
- is there a way the user can play two roles at the same time at one session? Ex: I have two roles (vps, manager). render two views in one?
- or should i choose a view for that role that have more privilege? Ex: I have two roles (admin, manager) so i use admin views not the manager's ones.
a lot of questions... so start answering hahaha thanks guys...