I am using WCM CQ5 and I want to build a component (let's say Header) that has 5 total tabs but I want two tabs to be shown based on permissions - "Style" and "Advanced Style".
If a user is a member of my Advanced Author group, when they drag the Header component from the Sidekick and open it to edit, they should only see the Advanced Style tab.
If a user is a member of my regular Author group, they should only see the "Style" tab.
I feel like this should be possible but I'm not quite sure how to execute within my code.
Any suggestions?