Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11465

Add a parameter to the document tree to hide/show the entities for which the current user doesn't have view right

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.4-milestone-1
    • Component/s: Index
    • Labels:
      None
    • Difficulty:
      Easy
    • Similar issues:

      Description

      The document tree is currently showing documents for which the current use doesn't have view right. Of course, the user is only aware of their existence but he cannot actually access them. This is also the behaviour of the live table component. It would be good to have a parameter to show/hide these kind of document. We can do this for the tree because its pagination doesn't allow the user to access a specific page but only the next X sibling nodes.

      {{documentTree showOnlyViewable="false" /}}
      

      Note that with showChildDocuments="true" and showOnlyViewable="true" some documents may be hidden (even though the current user has view right) because one of their ancestors is not viewable by the current user.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: