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
a lot of questions... so start answering hahaha thanks guys...
It's difficult to answer because the sort of questions you're asking require us to decide how your application will work. You have to do that yourself and make appropriate design & programming based on your decision.
As for display of HABTM records, I usually use checkboxes or some graphical readonly equivalent.
My suggestion is that you look around the web to see how it works on other sites - social sites like Flickr and Facebook are a good hunting ground as they have lots of groups, categories etc.
user admin routing... and have many prefixes. and may be in the place where you display user information. you can also list the other roles he can play.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.