Description
I have the same kind of objects: part of them are publicly available,
but others are private.
Using LiveTable macro, for anonymous user it shows entries with
documents (without hyperlinks), which actually are not accessible.
With note under table:
Some documents require special rights to be viewed
To avoid this, /xwiki/bin/view/XWiki/LiveTableResultsMacros
should be changed to following (diff lines):
190 - #gridresult_buildRowJSON($item $rows) 190 + #if($xwiki.getDocument($item).hasAccessLevel('view')) 191 + #gridresult_buildRowJSON($item $rows) 192 + #end
Attachments
Issue Links
- is duplicated by
-
XWIKI-15184 Simple users can see Menu location in the Page Index
- Closed
-
XWIKI-17943 Page index is displaying a Menu Page that is not allowed with view rights
- Closed
- is related to
-
XWIKI-16544 Unauthenticated user can retrieve the list of users through getdocuments.vm
- Closed
- relates to
-
XWIKI-8962 Easily switch on/off display of hidden pages in document index
- Open