Restrict level=”role1,role2″ not working
-
Firstly, I love this plugin. It made the creation of a Document Library very easy to setup.
The issue I’m seeing is related to allowing a content section to be visible if a user belongs to either role1 or role2, and excluding everyone else. These two roles are extensions of another role called “prospect” – apart from the naming, all other access levels are the same for the two roles.
The content is all contained on one page, with the required [restrict level=..] … [/restrict] blocks. If I restrict based on the individual levels (prospect, product1, product2), the content blocks show correctly. If I try to show a block based on being in either “product1” or “product2″ ([protect level=”product1,product2″] then then content block doesn’t show correctly.
However, if I change the restrict block to be the underlying role for that level ([restrict role=”prod1,prod2”]) then the content block is shown correctly.
Can you confirm if I’m understanding that the “restrict level=” is supposed to work allowing access for membership of multiple levels?
- The topic ‘Restrict level=”role1,role2″ not working’ is closed to new replies.