Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1054

exception raised if user tries to access a not permitted property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0 RC3
    • 3.0 RC2
    • None
    • None

      I sett up a security role that denied access to: /*/title intending to test if this would deny me access to that property. That worked, I can no longer see titles anywhere. But the log file shows a stack trace and a warning. I looked into the stack trace and found it is printed out in getNodeData on Content. In this method the WARNING worthy unexpected RepositoryException catches the benign and from time to time expected AccessDeniedException as well. Attached find the stack trace as well as a patch that fixes the problem.

        Acceptance criteria

          1. stacktrace.txt
            5 kB
            Chris Miner
          2. patch.txt
            2 kB
            Chris Miner
          3. patch.txt
            2 kB
            Chris Miner
          4. stacktrace.txt
            2 kB
            Chris Miner

              kraft Boris Kraft
              chris_miner Chris Miner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 10m
                  10m
                  Remaining:
                  Remaining Estimate - 10m
                  10m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified