On Wed, May 29, 2013 at 7:10 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Hello People,
How are you?
I am new in Xwiki application and I have a doubt. Is there any way to show a specific part of a page just to some group?
For example I have a page listing all our servers in our datacenter but the part with the user and pass I want to show just to the administrator IT group.
Is there any macro or script to do it?
{{velocity}} ... #if ($xwiki.user.isUserInGroup('XWiki.ITAdminGroup')) ## Display protected information here. #end ... {{/velocity}} Hope this helps, Marius
Thank you!
Danilo Amaral de Oliveira Engenheiro Trainee GerĂȘncia Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users