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

exception raised if user tries to access a not permitted property

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

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