Hello.
For 1, you need to modify XWiki.UserIndexUIX to add a check on the
administrator right (you could add $isAdmin and that's all).
See:
https://github.com/xwiki/xwiki-platform/blob/4f7e47962ad5867d85f16c2c0452fb…
For 2, you need to implement some UI extensions, see:
http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/DrawerItem
Documentation:
http://extensions.xwiki.org/xwiki/bin/view/Extension/UIExtension+Module
Thanks,
2016-05-19 5:33 GMT+02:00 superuser <superuser(a)wikinote.org>rg>:
I tried to play around with drawer.vm but only in
vain. I need to:
1] display 'User Index' from drawer only to administrator (not possible by
'administer page/parent' option)
2] add other applications e.g. 'Invitation', 'sandbox' to drawer
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Display-User-Index-in-drawer-only-to-admi…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the
XWiki.org project