Hi 

Is it possible to show/hide tabs (and controls on tabs) in a dialog based on
role(s) user has?

For example, I want to have  a tab (or controll on a tab) in Page Properties
dialog but it will show only for users belonging to specific role (like web
team). This way only web team members are able to add lets say JavaScript to
the page while others are not.


The only workaround I know for this is to create 2 paragraphs using 2
dialogs and then in the template (via scriptlet) display the proper
paragraph (and therefore a proper dialog) based on user's role...This way
however, is a lot of copying and pasting which makes things hard to change
when change is needed.




Thanks
Amir


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to