30 May
2013
30 May
'13
8:22 a.m.
A safer way would be to use the Include macro, that way the contents will not be visible in the editor. If the user does not have the right to view a page, then the Include macro will throw an exception. You can use the "section" to only include a portion of the page (instead of the complete page) For example: {{velocity}} #if ($xwiki.user.isUserInGroup('XWiki.NameOfGroup')) {{include document="Space.Page" section="HNameOfSection"/}} #end {{/velocity}} -- View this message in context: http://xwiki.475771.n2.nabble.com/New-User-Directory-Application-tp7585460p7... Sent from the XWiki- Users mailing list archive at Nabble.com.