Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-785

JcrDeliveryEndpoint and JcrPagesDeliveryEndpoint throws different exception under same conditions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 2.2.24
    • None
    • None

      Steps to reproduce

      1.  Request a page using the JcrDeliveryEndpoint with an user without read access to the page node
      2.  Request a page using the JcrPagesDeliveryEndpoint with an user without read access to the page node

      Expected results

      Both requests return same error

      Actual results

      JcrDeliveryEndpoint throws a javax.jcr.PathNotFoundException
      JcrPagesDeliveryEndpoint throws a java.securityAccessControlException

      Workaround

      Development notes

        Acceptance criteria

              Unassigned Unassigned
              jayala Jonathan Ayala
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD