Hi,

it is possible. Instead of checking if the current user has 
administrator rights, you can check if he is in the group you want.

There was a discussion about that some days ago on the mailing list. 
Look for it, if I remember right there was also the code you need.

Vito



V. Harikrishnan Nair wrote:
> Hi.
> 
>   It is seen that Panel items can be hidden from users other than the Admins
> using this statement -> #if ($xwiki.hasAdminRights()), right ? 
> 
>   Is it possible to be able to display certain Panel items to certain user
> groups ? If so, how ?
> 
> Harikrishnan

-- 
Vitantonio Messa
+358 46 889 48 49 - [EMAIL PROTECTED]
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to