Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-1325

info.magnolia.rendering.spa.rest.v2.JcrPagesDeliveryEndpoint#createMissingAreaNodes function in should be executed in system context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.31
    • None
    • None
    • None
    • Yes
    • DevX 46
    • 3
    • Yes

      info.magnolia.rendering.spa.rest.v2.JcrPagesDeliveryEndpoint#createMissingAreaNodes

      should be executed in system context, because this function adds missing inherited nodes

      if you don't set bypassWorkspaceAcls=true in delivery endpoint definition, then you need to add write permission to the anonymous user so that missing area nodes can be created!
      Otherwise you'll get javax.jcr.AccessDeniedException: Access denied. exception!

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              dai.ha Dai Ha
              rdrangovski Riste Drangovski
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d 2.5h
                    1d 2.5h