Hi
I would like to give the right to access to two or three categories.
For one category, the following acl-permissions works fine :
<permission action="readCategory">
<criteria for="readCategory://ui">param[0].title.toLowerCase().startsWith('category 1')</criteria>
</permission>If I had a second criteria, it does not work :
<permission action="readCategory">
<criteria for="readCategory://ui">param[0].title.toLowerCase().startsWith('category 1')</criteria>
<criteria for="readCategory://ui">param[0].title.toLowerCase().startsWith('category 2')</criteria>
</permission>The "category 2" is not made accessible : the first criteria is applied, the second one does not have effect any more.
So I would like to declare something like that :
<permission action="readCategory">
<criteria for="readCategory://ui">param[0].title.toLowerCase().startsWith('category 1') or param[0].title.toLowerCase().startsWith('category 2')</criteria>
</permission>Is it possible ?
Thanks a lot for your reply