Jan, I read your reply in the workflow thread, and while I now see how a 
working solution could be made, it involves a lot of (re-)configuration. As an 
alternative I'm thinking about the following "just install a module" solution:

[code]
public class SuperuserTransactionalSyndicator extends TransactionalSyndicator {
        public void init(User user, String repositoryName, String workspaceName,
                        Rule rule) {
                // Override user so it's always superuser
                super.init(Security.getSystemUser(), repositoryName, 
workspaceName, rule);
        }
}
...
<properties>
        <property>
                <name>info.magnolia.cms.exchange.Syndicator</name>
                <value>SuperuserTransactionalSyndicator</value>
        </property>
</properties>
[/code]

Are there any downsides of this solution?

Best regards
Mike

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=bd703c72-4bf1-441c-8690-372661961b5a


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

Reply via email to