Thanks, Sergiu!
Can you point out, where should I look, to implement it in more
appropriate way?
Valdis
> Sorry Valdis, but this won't fix the problem nicely, since it breaks the
> livetable paging. You'll only get the items that are public from a
> specific page, but the results are split into p
Sorry Valdis, but this won't fix the problem nicely, since it breaks the
livetable paging. You'll only get the items that are public from a
specific page, but the results are split into pages regardless of their
access, so in the end you might see 15/15 items, or 10/15 items, or just
an empty page
Got it right with
/xwiki/bin/view/XWiki/LiveTableResultsMacros
changing to following (diff lines):
190 - #gridresult_buildRowJSON($item $rows)
190 + #if($xwiki.getDocument($item).hasAccessLevel('view'))
191 + #gridresult_buildRowJSON($item $rows)
192 + #end
http://jira.xwiki.org/browse/XWIKI-9649
I have the same kind of objects: part of them are publicly available,
but others ar 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 vie