Hi Prathap,
- if you want to display this link in someone page only for Admins, you can
use $xwiki.hasAdminRights() or just $hasAdmin
#if($hasAdmin)
[Panels>Panels.WebHome]
#end
- if you want to display the Panels.WebHome only for Admins - go to this
page and edit it (menu Edit -> Rights) to set the access rights only for
this page.
Alla
Prathap Pandian wrote:
HI,
I have link [Panels>Panels.WebHome] in the *"Main"* Space.
And i want to display this only for the user who having admin rights for
the
*"Panels"* Space.
I tried with this one *$hasAdmin* but it getting the rights for the
current
space.
Any other way to do this...?
--
Prathap
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
View this message in context:
http://n2.nabble.com/XWIKI---Getting-Space-Rights.-tp777625p777696.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.