Hi all,
is it possible to force an action / command be executed as superuser?

Something like:

// user swap
User loggedUser = MgnlContext.getUser();

MgnlContext.login(Security.getSystemUser());

[... superuser actions ...]

// user swap
MgnlContext.login(loggedUser);

?
Thanks..
Matteo

                


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to