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

Details

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

    Description

      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!

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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