15 Feb
2013
15 Feb
'13
11:01 a.m.
Hi, On Feb 15, 2013, at 11:50 AM, CarlJ <[email protected]> wrote:
Good Morning All,
I was wondering if there was a way to display a Paragraph that only a set group can see within a document that is set to be viewed by everybody.
I have tried to use the include and display Macros that link to a document that has had there access rights restricted, but when I visit the page on a user who doesn't have access they see *"Failed to execute the [include] macro"*
Any Suggestions?
Sure you can do that by using a script and using the hasAccessLevel API. For example: http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Rights+For+A+User... Thanks -Vincent