How to handle more than hundred Roles?
drupal-id.com - November 4, 2008 - 16:49
I have created 100 roles, and as you guest I have problem in the administer-permissions page to show all 100 roles.
So, is there a way to use something like "pager" to handle this situation? Any idea to fix this issue?

I wonder why you need a 100+
I wonder why you need a 100+ roles, seems a bit over the top. Maybe there is a better approach to what you are trying to do than so many roles.
Re: I wonder why you need a 100+
Dear all,
I have to create a nation-wide website which contain more than 4.000 branches (each branch located on a city, so there will be 4.000 cities too). This project requires me to provide certain content-type based on Company Branch, with these rule:
- Content created by Company Branch A can be viewed/edited by Branch A, another Branch can not View/Edit this content
- Each Company Branch contains 4-7 Users: some of them can View only, while others can View and Edit their OWN Branch's content
I hope I explain you well my problem.
Maybe Organic Groups module
Maybe Organic Groups module can help - one group per branch - then perhaps the only "general" roles you would need are branch member and branch author (to create content). Use OG access module to make groups and their content private.
Of couse you'd also need a role (possibly you?!) to administer the branches/groups.
gpk
----
www.alexoria.co.uk
Definitely OG or
Definitely OG or taxonomy_access is the way to go.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Taxonomy Access
I think taxonomy_access will be the right solution, so I can avoid to create hundreds content type, instead only 1 content type with hundreds term in 1 vocabulary.
Thanks for your great idea!
Make sure you evaluate the 2
Make sure you evaluate the 2 or 3 different taxonomy access modules, some only allow role-based permissions (so you'd have to create a role for each branch) whereas others (TAC_lite I think) let you define permissions for specific users.
As this sounds like a sizeable project OG definitely worth some consideration also, might simplify the administration downstream depending on your exact use case and the likely evolution of the site. Probably a more complex solution to set up at first, but might give you some extra useful facilities "for free". The concept of different users from the same "branch" belonging to the same "group" sounds like a good fit.
gpk
----
www.alexoria.co.uk
please tell me why ? what is
please tell me why ? what is the use case. i am extremely curious.
Organic Groups lets you
Organic Groups lets you create group nodes, and then assign an administrator to them who has certain rights only within that group. You can also assign content to the group. Check out groups.drupal.org for plenty of examples; it runs on OG.
That is really a curious
That is really a curious question what is the requirement of 100+ roles. The idea of role is diluted with so many different possibilities. Are you trying to create a separate role for each user.
You can try a drupal module Account Type http://drupal.org/project/accounttypes Module
http://m4manas.wordpress.com
http://www.taxlaw.co.in
http://www.caselaw.co.in