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

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 6.4-milestone-1
    • 6.3
    • Index
    • None
    • Easy

    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

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

            Dates

              Created:
              Updated:
              Resolved: