Hi
If I understand your needs correctly, reading the following thread
might help.
http://thread.gmane.org/gmane.comp.cms.magnolia.user/5758
Looks like it's worth a try.
Regards,
Guillaume.
Le 13 mars 07 à 19:58, Amir Mistric a écrit :
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
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------