Closed (fixed)
Project:
Menu Per Role
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Mar 2010 at 00:32 UTC
Updated:
28 Jun 2011 at 08:42 UTC
I'm just wondering... why have two separate check-boxes/fieldset for choosing which role to show/hide the menu items for?
If a role is not checked, it should have access to the item (default), but if a role is checked, the item should be hidden...
Either there's something wrong/I don't understand or this solution is very messy.... :)
Is there any benefit of having it like this?
Comments
Comment #1
AlexisWilke commentedMaybe we could have an option to "remove" one or the other according to taste.
The idea here is simple:
Roles A, B and C
User X has roles A and B
User Y has roles B and C
User Z has roles A and C
You say that a menu item is Shown for people in Role A, but not in Role B. Z sees that menu.
You say that a menu item is Shown for people in Role A, but not in Role C. X sees that menu.
You say that a menu item is Shown for people in Role B, but not in Role A. Y sees that menu.
You say that a menu item is Shown for people in Role B, but not in Role C. X sees that menu.
etc.
Does that make sense? It certainly makes it a little more of a brain tickler... 8-)
Thank you.
Alexis
Comment #2
AlexisWilke commentedChanging the title to mention the idea/concept of hiding the duplicate. It will be nice for people who really only need to hide or show a menu item.
Comment #3
AlexisWilke commentedOkay! Finally added a patch for this one. There is now a global set of radios that let you select either or both of these list of check boxes. It will be in 6.x-1.x-dev for a while.
Thank you.
Alexis