[xwiki-users] Toolbar customization question
Hello, We would like to customize toolbar appearance in our xwiki app. How can we make the commands in the toolbars visible only to Admin Group members? For example, we want to do the following: 1, Allow only Admins to see certain commands, like the XWIKI command (to Create Space, etc.), plus MAIN and other commands that appear on left side of top toolbar (i.e. the same toolbar that has Register and Login on right side) 2. We would also like to do same with toolbar that has EDIT, EXPORT, MORE ACTIONS, ANOTATIONS and WATCH commands - i.e. we would like to set it so only Admins can see some of these commands, while users in other groups should not be able to see these commands, nor invoke them. Please advise how this can be accomplished. Thank you, --Tom
In https://svn.xwiki.org/svnroot/xwiki/platform/skins/trunk/colibri/src/main/re... ( or webapps\xwiki\skins\colibri locally ) you have 1. menuview.vm 2. contentmenu.vm you can add something like #if($hasGlobalAdmin) for the items you want to display only for Admins. On Wed, Aug 11, 2010 at 03:31, Tom Stevenson <[email protected]> wrote:
Hello,
We would like to customize toolbar appearance in our xwiki app. How can we make the commands in the toolbars visible only to Admin Group members? For example, we want to do the following:
1, Allow only Admins to see certain commands, like the XWIKI command (to Create Space, etc.), plus MAIN and other commands that appear on left side of top toolbar (i.e. the same toolbar that has Register and Login on right side)
2. We would also like to do same with toolbar that has EDIT, EXPORT, MORE ACTIONS, ANOTATIONS and WATCH commands - i.e. we would like to set it so only Admins can see some of these commands, while users in other groups should not be able to see these commands, nor invoke them.
Please advise how this can be accomplished.
Thank you,
--Tom
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 08/11/2010 02:31 AM, Tom Stevenson wrote:
Hello,
We would like to customize toolbar appearance in our xwiki app. How can we make the commands in the toolbars visible only to Admin Group members? For example, we want to do the following:
1, Allow only Admins to see certain commands, like the XWIKI command (to Create Space, etc.), plus MAIN and other commands that appear on left side of top toolbar (i.e. the same toolbar that has Register and Login on right side)
2. We would also like to do same with toolbar that has EDIT, EXPORT, MORE ACTIONS, ANOTATIONS and WATCH commands - i.e. we would like to set it so only Admins can see some of these commands, while users in other groups should not be able to see these commands, nor invoke them.
Note that hiding those commands will not hinder people who have enough knowledge from using them. You should also deny them edit, delete and comment rights on relevant spaces/pages (which will automatically hide most commands btw.). Alex
Please advise how this can be accomplished.
Thank you,
--Tom
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Alex Busenius -
Ecaterina Valica -
Tom Stevenson