Last modified by Silvia Macovei on 2018/09/27

From version < 2.1 >
edited by Guillaume Lerouge
on 2009/02/02
To version < 3.1 >
edited by Guillaume Lerouge
on 2009/02/02
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,45 +1,30 @@
1 1  
2 2  1 Setting user rights
3 3  
4 +#info("Find out more about setting rights in XWiki Enterprise [on this page on XWiki.org.>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HAnoverviewofrights]")
5 +
4 4  XWiki Enterprise lets you set user rights at the wiki, space and page level. This means that you can control exactly which users are allowed to perform which actions (edit, view or comment on a page):
5 5  
6 6  * Click on the "Administration" link at the top right of your page
7 7  * Click on the "Rights" button
8 8  
9 -1.1 Setting rights for groups
11 +Here are a couple usual wiki rights configurations. Check the same checkboxes in your wiki as in the images below to have your wiki follow that given configuration.
10 10  
11 -#info("It's easier to set rights for groups than for every individual user. Thus we recommend [you create user groups>GettingStarted.CreatingNewUsers] prior to starting configuring user rights.")
13 +* Open / Closed / Locked
14 +** Open: unregistered users can create an account
15 +** Closed: only registered users can create new accounts
16 +** Locked: only admins can create new accounts
17 +* Editable / Viewable / Hidden
18 +** Editable: unregistered users can edit content
19 +** Viewable: unregistered users can view content and registered users can edit content
20 +** Hidden: unregistered users cannot view content, registered users can view and edit content
12 12  
13 -XWiki rights work the following way:
22 +1.1 Editable / Open Wiki
14 14  
15 -* When all checkboxes are empty, everybody can do everything
16 -* Once you give a right to an user or a group, everybody else is disallowed this right if their checkbox is empty
24 +1.1 Editable / Closed Wiki
17 17  
18 -1.1.1 An overview of rights
26 +1.1 Viewable / Open Wiki
19 19  
20 -Here is a lists of all the rights available in XWiki Enterprise and their default settings.
28 +1.1 Viewable / Closed Wiki
21 21  
22 -* ~~*Right name:* brief description of that right~~
23 -** ~~Availability: where you can set this right~~
24 -** ~~Default status: whether the right is allowed or denied when the checkbox is left blank - other settings notwithstanding~~
25 -* *View:* whether users can see the page
26 -** Availability: this right is available at the page, space and wiki level
27 -** Default status: ALLOWED
28 -* *Comment:* whether users can add a comment to the page
29 -** Availability: this right is available at the page, space and wiki level
30 -** Default status: ALLOWED
31 -* *Edit:* whether users can edit and save modifications to the page
32 -** Availability: this right is available at the page, space and wiki level
33 -** Default status: ALLOWED
34 -* *Delete:* whether users can delete the page
35 -** Availability: this right is available at the page, space and wiki level
36 -** Default status: DENIED
37 -* *Admin:* whether users can manage administration settings for the space / wiki
38 -** Availability: this right is available at the space and wiki level
39 -** Default status: DENIED
40 -* *Register:* whether users can create new user accounts
41 -** Availability: this right is available at the level
42 -** Default status: ALLOWED
43 -* *Programming:* whether users can use protected APIs & Groovy code in wiki pages
44 -** Availability: this right is available at the wiki level
45 -** Default status: DENIED
30 +1.1 Hidden / Closed Wiki

Setting user rights

Find out more about setting rights in XWiki Enterprise on this page on XWiki.org.

XWiki Enterprise lets you set user rights at the wiki, space and page level. This means that you can control exactly which users are allowed to perform which actions (edit, view or comment on a page):

  • Click on the "Administration" link at the top right of your page
  • Click on the "Rights" button

Setting rights for groups

It's easier to set rights for groups than for every individual user. Thus we recommend you create user groups prior to starting configuring user rights.

XWiki rights work the following way:

  • When all checkboxes are empty, everybody can do everything
  • Once you give a right to an user or a group, everybody else is disallowed this right if their checkbox is empty

An overview of rights

Here is a lists of all the rights available in XWiki Enterprise and their default settings.

  • Right name: brief description of that right
    • Availability: where you can set this right
    • Default status: whether the right is allowed or denied when the checkbox is left blank - other settings notwithstanding
  • View: whether users can see the page
    • Availability: this right is available at the page, space and wiki level
    • Default status: ALLOWED
  • Comment: whether users can add a comment to the page
    • Availability: this right is available at the page, space and wiki level
    • Default status: ALLOWED
  • Edit: whether users can edit and save modifications to the page
    • Availability: this right is available at the page, space and wiki level
    • Default status: ALLOWED
  • Delete: whether users can delete the page
    • Availability: this right is available at the page, space and wiki level
    • Default status: DENIED
  • Admin: whether users can manage administration settings for the space / wiki
    • Availability: this right is available at the space and wiki level
    • Default status: DENIED
  • Register: whether users can create new user accounts
    • Availability: this right is available at the level
    • Default status: ALLOWED
  • Programming: whether users can use protected APIs & Groovy code in wiki pages
    • Availability: this right is available at the wiki levelĀ 
    • Default status: DENIED

Here are a couple usual wiki rights configurations. Check the same checkboxes in your wiki as in the images below to have your wiki follow that given configuration.

  • Open / Closed / Locked
    • Open: unregistered users can create an account
    • Closed: only registered users can create new accounts
    • Locked: only admins can create new accounts
  • Editable / Viewable / Hidden
    • Editable: unregistered users can edit content
    • Viewable: unregistered users can view content and registered users can edit content
    • Hidden: unregistered users cannot view content, registered users can view and edit content

Editable / Open Wiki

Editable / Closed Wiki

Viewable / Open Wiki

Viewable / Closed Wiki

Hidden / Closed Wiki

Get Connected