Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-707

add a method to STKUtil to create nodes privileged

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.3.6, 1.4
    • None
    • None
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pbaerfuss Philipp Bärfuss
                pbaerfuss Philipp Bärfuss
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: