Give it a try, but if I'm not mistaken dialogs are retrieved in system context
so it will not work. I tried once to do the similar to show the different
language tabs to different groups of translators and it just didn't work (I
believe there is a JIRA issue to that effect).
Jan
_____
From: Will Scheidegger [mailto:[email protected]]
To: Magnolia User-List [mailto:[email protected]]
Sent: Tue, 23 Mar 2010 10:11:40 +0100
Subject: Re: [magnolia-user] Choose which dialog to open looking for user roles
Well, the only way I see to achieve this without hacking your own dialog is the
ACL itself. Simply deny access to the control X for the regular editor and you
should get what you are looking for. Now instead of denying access to several
controls you could also place these controls in one tab and deny access to this
tab and all its subnodes.
-will
On 23.03.2010, at 09:18, Matteo Pelucco wrote:
>
> Hi all,
> I would like to have this feature in our website:
>
> superusers can edit paragraph x using dialog-x-ADVANCED (if exist one) and
> normal editors can edit paragraph x using dialog-x.
>
> I never saw this feature in Magnolia so I would like to start developing it,
> but I can not imaging where to start!
>
> Extending green-bars taglib I think it is not a good idea, because we would
> like to stay as much as possible compliant to Magnolia.
>
> I don't see any configuration parameters to let me enable this.
>
> The bean class of a paragraph definition is read at module startup, so I can
> not work at "runtime", using user roles...
>
> Any other idea?
>
> Thanks in advance for every suggestion...
> Matteo
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------