Any ideas how I would hide or show a dialog tab panel depending on which user group the user belongs to?
I tried to do this through the CRX content explorers (ACL’s). But I’m not getting much luck with it.
Cheers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As noted by anthonyh, the ACL approach is the way to go (if such a behavior is really necessary).
For example, to hide the “image” tab of the base page component:
/libs/foundation/components/page/dialog/items/tabs/items/imagedeny jcr:readforauthorNote that in case of tabs included with
xtype=cqincludeyou have to set it on the include itself, not the included definition. Because at runtime it would complain over the missing target of the include and not render the dialog at all.