Wiki source code of RightsManagement

Version 82.1 by Jean-Vincent Drean on 2008/07/11

Hide last authors
Vincent Massol 71.1 1 #startfloatingbox()
2 *Contents*
3 #toc ("2" "3" "")
4 #endfloatingbox()
5
Vincent Massol 1.20 6 1 Rights Management
Vincent Massol 1.1 7
Vincent Massol 62.1 8 #info("The images and documentation below features the new Rights Management UI available since XWiki Enterprise 1.1.2 and XWiki Enterprise 1.2M2 and beyond.")
9
Vincent Massol 71.1 10 XWiki allows you to control all access permissions at a fine grained level. There are different levels of control and these rights are cumulative. The rights for a page override the rights for a space which override the rights for a wiki.
Vincent Massol 1.20 11
EvelinaSlatineanu 6.1 12 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...
Guillaume Lerouge 1.13 13
Vincent Massol 62.1 14 #warning("You'll need to have admin rights if you want to modify user rights.")
Vincent Massol 1.4 15
Vincent Massol 1.1 16 1.1 Rights at the wiki level
17
Vincent Massol 1.4 18 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 image:
Vincent Massol 1.1 19
EvelinaSlatineanu 45.1 20 {image:globalrights.jpg}
Vincent Massol 1.4 21
22 Here's how you can change permissions:
EvelinaSlatineanu 6.1 23
EvelinaSlatineanu 20.1 24 * Select the Users or Groups for which you want to set a permission.
Vincent Massol 1.4 25 ** There are some default users to know about:
EvelinaSlatineanu 20.1 26 *** Unregistered Users: represents the anonymous user (i.e. a user not logged in)
Vincent Massol 1.4 27 *** XWiki.XWikiAllGroup: represents all groups
28 *** XWiki.XWikiAdminGroup: represents all users with admin privileges
EvelinaSlatineanu 22.1 29 * Click once in a checkbox to allow a right, twice to deny it and three times to clear the right (delete the entry). As a result, rights entries are saved automatically, using the Ajax technology.
Vincent Massol 1.4 30
Vincent Massol 1.1 31 1.1 Rights at the space level
32
vmassol 1.9 33 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:
Vincent Massol 1.1 34
EvelinaSlatineanu 45.1 35 {image:spacerights.jpg}
vmassol 1.9 36
37 Then use exactly the same steps as the one use for changing global rights.
38
Vincent Massol 1.1 39 1.1 Rights at the page level
40
Vincent Massol 1.25 41 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.
EvelinaSlatineanu 26.1 42
EvelinaSlatineanu 45.1 43 {image:documentrights.jpg}
EvelinaSlatineanu 30.1 44

Get Connected