excerpt-include shows error when user does not have permission to view target

XMLWordPrintable

    • Type: Bug
    • Resolution: Support Request
    • Priority: Low
    • None
    • Affects Version/s: 5.9.6
    • Component/s: None
    • Environment:

      Standalone 5.9.6 on Ubuntu 14.04 LTS, Postgres, included JDK

      Hello,

      I have a public space and a private one.

      I use the excerpt-include macro to have a part of the private space blend into the public space, meant only for logged in users.

      Instead of showing simply nothing to anonymous users, they get an error message:

      Fehler beim Rendern des Makros 'excerpt-include': User 'null' does not have permission to view the page 'Link zur internen Knowledge Base'.
      (error while rendering the macro 'excerpt-include')

      It's inconsistant with other permission handling, where users without permissions don't see pages in search results, structured views like children pages, or recent edits at all, being kept unaware of their existence.

            Assignee:
            Unassigned
            Reporter:
            Marco Dieckhoff
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: