add a method to STKUtil to create nodes priviledged
---------------------------------------------------

                 Key: MGNLSTK-707
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-707
             Project: Magnolia Standard Templating Kit
          Issue Type: Improvement
            Reporter: Philipp Bärfuss
            Assignee: Philipp Bärfuss
             Fix For: 1.4


In various places we execute the code in the system context to auto generate 
paragraphs. There are various tricky things one has to be aware of:
- refetch the node as content.createContent() would still create it in the 
context the content object was retrieved from
- while one changes the content in the system content we have to return the 
content from the current context to ensure that permissions are respected and 
that the chain of wrapping content is not broken.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




----------------------------------------------------------------
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