Hi,
You could use the checkAccess method (see
http://build.xpertnet.biz/doc/api/com/xpn/xwiki/api/XWiki.html ) to
see if a user has access to a particular page, and only display the
menu if that is the case:
#if ($xwiki.checkAccess("MyRestrictedSpace.SomePage", "view")==true)
* My
* Restricted
* Content
#end
Cheers,
Robin
On 25/04/06, Adrian Hall <ahall(a)mirapoint.com> wrote:
I have xWiki 0.9.840 up and running now.
Question: I want to have optional sections of the menu bar appear when
members of certain groups are logged in. For example, I'd like to have a
restricted space (which I now have), but not have the link appear on the
left hand menu unless the user is allowed to visit that space.
How can I do this?
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws