Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4118

Re-throw AuthorizationRequiredException and AccessDeniedException in PageGenerator

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.5
    • None
    • None
    • None

      In the PageGenerator, if a ProcessingException is thrown by a zone item (mostly services), it's caught and generated in the XML as an error.
      If a service throws an AuthorizationRequiredException or an AccessDeniedException, it's wrapped in a ProcessingException and caught by the preceding behavior, whereas we'd like the exception to be thrown (resulting in a 401 or 403 response code being sent to the user), instead of being generated in the page.

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: