Solved this by accessing session related stuff by doing it in system context: 

[code]return MgnlContext.doInSystemContext(new JCRSessionOp<Boolean>("config") {
                @Override
                public Boolean exec(Session session) throws RepositoryException 
{
                          return false;
                }
          });[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=6f69a313-d761-4baf-86ea-a676106033f6


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to