Re: [xwiki-users] Displaying Panel items

2007-11-05 Thread Your XEN ICT Team - Ricardo Rodriguez
Vitantonio Messa wrote: 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

Re: [xwiki-users] Displaying Panel items

2007-11-05 Thread V. Harikrishnan Nair
Thanks for the help, Ricardo. Here's the code - --- #panelheader('Quick Links') * [HomeAmrita IIS.WebHome] * [PMT DiscussionsAmrita IIS.PMT_Discussions] * [Class EditorXWiki.XWikiClasses] * [PMTPMT.PMTemplateTestClass] * [PMT Test formAmrita IIS.Form_PMT_Test] #if ($xwiki.hasAdminRights()) For

Re: [xwiki-users] Displaying Panel items

2007-11-05 Thread V. Harikrishnan Nair
That's perfect ! Thanks, Vito, I should've noticed that... Vitantonio Messa wrote: V. Harikrishnan Nair wrote: Thanks for the help, Ricardo. Here's the code - --- #panelheader('Quick Links') * [HomeAmrita IIS.WebHome] * [PMT DiscussionsAmrita IIS.PMT_Discussions] * [Class

[xwiki-users] Displaying Panel items

2007-11-04 Thread V. Harikrishnan Nair
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 -- View this message in context:

Re: [xwiki-users] Displaying Panel items

2007-11-04 Thread Vitantonio Messa
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