- This topic has 1 reply, 2 voices, and was last updated 8 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Confusing Menu Editor with Secondary Rules’ is closed to new replies.
Tagged: Menu editor secondary rules
Hello!
Look, I’m having difficulty understanding the logic used to work with the editing of the menus when we use secondary rules.
For example:
Rule A: X and Y
Rule B: Z
Menu A: X and Y
Menu B: Z
User A: Only the X and Y menus appear. It works as I expected.
User B: Only the Z menu appears. It works as I expected.
User Ab (A is the main rule and B is the secondary rule): No menu appears! I would like the X, Y, and Z menus to appear
In another topic you explained that to appear in the menu, in both rules the menu must be checked, but in this case above is not possible since Rule A does not have the capacity Z, and Rule B does not have the capabilities X and Y. How to proceed in this case?
Hi Felipe,
Menu editor works based on ‘AND’ condition on restriction. For example if Role A denies Menu A and Role B denies Menu B, a user who have roles A & B the result will be ‘deny A AND deny B’. You can remove the deny condition on Menu B by enabling the ‘Disable For Secondary Role’ option for Role B, provided Role B is a secondary role for that user. Basically only the primary role rules will be applied when that option is enabled.
In your case even if you enable that option for Role B, user will only have X & Y, since Role A explicitly denies menu Z. Your best option is to create a third role for User AB.
Thanks
Syam