RightsManagement

Version 14.1 by EvelinaSlatineanu on 2007/11/27
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Rights Management

XWiki allows you to control all access permissions at a fine grained level. There are different levels of control:

Invalid macro parameters used for the [toc] macro. Cause: [Failed to validate bean: [must be greater than or equal to 1]]. Click on this message for details.

These rights are cumulative. The rights for a page override the rights for a space which override the rights for a wiki.

Thanks to the three levels of control offered by XWiki, it becomes quite easy to manage places where people are allowed to read, write and comment - or not allowed to go. You can create groups of users in order to manage the rights of a category of people more easily. For instance, say you have managers and staff in the marketing and IT department: you can create a group for the staff on each department and another for managers (4 in all), and a space for every category. Then you can choose to let marketing staff access the marketing space only but let marketing managers have access to the IT space at the staff level (but not IT manager level), and so on...

Note: You'll need to have admin rights if you want to modify user rights

Rights at the wiki level

Click on the "Administration" button of your wiki. On the new skin it's located in the top right corner of the screen. Then select the "Global Rights" tab as shown on the following filename

globalrights-new.jpg

Here's how you can change permissions:

  • Select the Users and Groups for which you want to set a permission.
    • There are some default users to know about:
      • XWiki.XWikiGuest: represents the anonymous user (i.e. a user not logged in)
      • XWiki.XWikiAllGroup: represents all groups
      • XWiki.XWikiAdminGroup: represents all users with admin privileges
  • Select the permission Level you want to set for the selected Users and Groups
  • Decide whether to allow that permission level or to deny it.
  • Use the Add Right button on the right to create a new Right Entry. Indeed you'll probably need several entries to express a complex set of permissions. This is what allows to perform AND and OR rules.

Rights at the space level

Click on the "Administration" button of your wiki. On the new skin it's located in the top right corner of the screen. Then select the "Space Rights" tab. Then select the space for which to modify the rights. For example:

spacerights.png

Then use exactly the same steps as the one use for changing global rights.

Rights at the page level

Simply navigate to the page for which you wish to change the permissions, Edit the page and then click on the Page Access Rights tab.

Get Connected