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

AccessDeniedException should mention the workspace for which the permissions are missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • 4.3.8, 4.4.1
    • core, security
    • None

    Description

      Example: it's not obvious that the missing permissions are for the forum workspace when reading this error message: info.magnolia.cms.security.AccessDeniedException: User not allowed to (Add, Set, Read) path [/pagecomments/forum-demo].

      Unfortunately, the AccessManager interface currently does not know the name of the workspace it's linked to, so it's not a trivial patch. (could be done several ways if we can afford to break the api)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD