XWiki Enterprise 8.4.4 Documentation » Users and Groups Overview » The Management of Global/Local Users and Groups

The Management of Global/Local Users and Groups

An XWiki Enterprise instance consists of a main wiki which is also named the wiki manager and a number of sub-wikis. Therefore, the users, groups and rights management can be done globally or locally.

Global Users versus Local Users

Global users are created on the main wiki and the rights granted there will also apply on the sub-wikis. Local users are created on each sub-wiki and they will only be editors or administrators on that particular sub-wiki. 

Browse the List of Main Wiki Users

Go to any main wiki page, click the DrawerMenuIcon.png button to open the drawer menu, then on "Administer Wiki".

AdministerWikiMenu.png

In the wiki administration page, click on the "Users" link in the vertical menu to the left

UsersAdministration.png

and you will see the global users overview.

AddNewUser.png 

Edit a Global User

Global users can only be edited from the main wiki. To do so, go to the administration page of the main wiki and follow the steps described here.

Browse the List of Local Users

Go to any sub-wiki page, click the DrawerMenuIcon.png button, then click on "Administer wiki". In the wiki preferences page, click on the "Users" link from the vertical menu to the left.

Depending on the option you chose when creating the sub-wiki, you will see one of the 3 possible user interfaces.

If the sub-wiki has only global users, you should see a livetable named "Current Members" with the main wiki users that have been added or invited to the sub-wiki.

SubWikiGlobalCurrentMembers.png 

In case the sub-wiki has both local and global users, the "Current Members" livetable will display, besides the main wiki users, the list of local sub-wiki users.

SubWikiLocalGlobalCurrentMembers.png

To create a local user, click the "Add new user" button in the "Users" section and follow the instructions described here. New local users will be automatically added as members and displayed in the "Current Members" livetable.

By default, only local users will be listed in the "Users" livetable but you can also choose to display the global users or both categories by selecting the corresponding option from the "Manage" column.

SubWikiLocalGlobalUsers.png

Finally, if the sub-wiki only has local users, you will see just the "Users" livetable and a button for creating new ones. This time too, only local users will be listed but you can still switch to "Global" or "Both".

SubWikiLocalUsers.png

Edit a Local User

Local users can only be edited in the sub-wiki they were created on. The process is similar to the one for global users and it is detailed here.

Global Groups versus Local Groups

Just like in the case of global users, global groups are created on the main wiki and any rights granted to them will also apply on the sub-wikis. Local groups are created on each sub-wiki and they can contain both local and global users and subgroups whereas global groups can only have global members and subgroups.

Browse the List of Global Groups

Go to any main wiki page, click the DrawerMenuIcon.png button, then on "Administer wiki". In the wiki administration page, click on the "Groups" link in the vertical menu to the left 

AdministrationGroup.png

which will bring an overview of the global groups.

GroupInList.png

Edit a Global Group

Global groups can only be edited in the main wiki by adding or removing global users and global subgroups. For more details, follow this link.

Browse the List of Local Groups

Go to any page of the sub-wiki, click the DrawerMenuIcon.png button, then click on "Administer wiki". In the wiki preferences page, click on the "Groups" link in the vertical menu to the left. Just like for local users, only local groups are displayed by default in the livetable:

  • XWikiAdminGroup includes all the local sub-wiki administrators. By default this group is empty.
  • XWikiAllGroup includes all the users that were added or invited to the sub-wiki, as explained in the above section.

    ManageLocalGroupsAdminPage.png

In case you want to list the global groups or should you prefer to display both categories, just select the corresponding option from the drop-down list in the "Manage" column.

LocalGroupsAdminPage.png

The global groups names are not clickable and the number of members is not displayed which means that they can only be accessed or edited in the main wiki.

Edit a Local Group

Go to the local group overview page and you have 2 options:

  •  Click on the group name to open the group page. Next, click on the "Edit" menu to open the group page in "Inline form" mode.

    EditLocalGroupPage.png

  • Click on the pencil icon in the "Manage" column which will open a light-box displaying the members of the local group.

Add an User to a Local Subgroup

In both cases you can add a new user to the group by typing the username in the input near "Add user to group". Provided the sub-wiki is configured to support this, you can add both local and global users by first selecting the corresponding option in the drop-down list. After starting to type, if the user exists, the suggest feature will help display the list of occurrences, so you can select from them.

The User Picker displays the user avatar and a link to the user profile and it also allows you to add multiple users in one step. The process is the same as for global users. In order to toggle between the local and global scope, click on the globe icon. If you are in local scope, the icon will be LocalScope.png,

EditGroupAddLocalUser.png

whereas in global scope, the icon will be GlobalScope.png.

EditGroupAddGlobalUser.png

Add a Subgroup to a Local Group

You can also add an entire group to the current local group.This can be done by typing the group name in the input below "Subgroups to Add" then by selecting the group from the suggested list. 

The Group Picker allows you to add multiple subgroups in one step. The group alias is the name of the group page, the group name is the title of the group page while the group avatar is the first image attached to the group page. The process is the same as for global groups.

In order to toggle between the local and global scope, click on the globe icon. If you are in local scope, the icon will be LocalScope.png, whereas in global scope, the icon will be GlobalScope.png. You can add both local and global subgroups by first choosing the corresponding option in the drop-down list. After starting to type, if the subgroup exists, the suggest feature will display the list of all the group names containing the typed letters. 

EditGroupAddGlobalSubgroup.png

Delete an User or a Subgroup From a Local Group

To remove an user or a subgroup from a local group, just click on the corresponding "remove" link in the "Manage" column. 

     

Search this space