Wiki source code of Step 6: Setting user rights
Version 47.1 by Silvia Macovei on 2018/09/27
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{info}} | ||
2 | Find out more about setting rights in XWiki [[on this page on XWiki.org.>>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HAnoverviewofrights]] | ||
3 | {{/info}} | ||
4 | |||
5 | XWiki lets you set user rights at both the wiki 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). | ||
6 | |||
7 | To access the global rights Administration, go to ##Administration > Users & Rights > Rights## | ||
8 | |||
9 | 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 | |||
11 | * **Registration: who should be allowed to create new user accounts?** | ||
12 | ** Open: admins, registered users and unregistered users can create a new account | ||
13 | ** Closed: admins and registered users only can create a new account | ||
14 | ** Locked: admins only can create a new account | ||
15 | * **View & edition: who should be allowed to view, comment and edit wiki pages?** | ||
16 | ** Editable: admins, registered users and unregistered users can view, comment and edit pages | ||
17 | ** Viewable: admins and registered users can view, comment and edit content, unregistered users can only view and comment pages | ||
18 | ** Hidden: admins and registered users can view and edit content, unregistered users cannot view pages | ||
19 | ** Protected: admins only can view and edit content, registered and unregistered users cannot view pages | ||
20 | * **Protection strength: can global rights be overridden at the page level?** | ||
21 | ** Light: global rights for unregistered users can be overridden at the page level | ||
22 | ** Strong: global rights for unregistered users cannot be overridden at the page level | ||
23 | |||
24 | For all the configurations listed below, leave the Users rights screen blank: | ||
25 | |||
26 | [[[[image:Users.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:Users.png]] | ||
27 | |||
28 | = Editable / Open Wiki = | ||
29 | |||
30 | [[[[image:EditableOpen.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:EditableOpen.png]] | ||
31 | |||
32 | = Editable / Closed Wiki = | ||
33 | |||
34 | [[[[image:EditableClosed.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:EditableClosed.png]] | ||
35 | |||
36 | = Editable / Locked Wiki = | ||
37 | |||
38 | [[[[image:EditableLocked.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:EditableLocked.png]] | ||
39 | |||
40 | = Viewable / Open Wiki = | ||
41 | |||
42 | [[[[image:ViewableOpen.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:ViewableOpen.png]] | ||
43 | |||
44 | = Viewable / Closed Wiki = | ||
45 | |||
46 | [[[[image:ViewableClosed.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:ViewableClosed.png]] | ||
47 | |||
48 | = Viewable / Locked Wiki = | ||
49 | |||
50 | [[[[image:ViewableLocked.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:ViewableLocked.png]] | ||
51 | |||
52 | = Hidden / Closed Wiki (Light) = | ||
53 | |||
54 | [[[[image:HiddenClosedLight.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:HiddenClosedLight.png]] | ||
55 | |||
56 | = Hidden / Closed Wiki (Strong) = | ||
57 | |||
58 | [[[[image:HiddenClosedStrong.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:HiddenClosedStrong.png]] | ||
59 | |||
60 | = Hidden / Locked Wiki (Light) = | ||
61 | |||
62 | [[[[image:HiddenLockedLight.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:HiddenLockedLight.png]] | ||
63 | |||
64 | = Hidden / Locked Wiki (Strong) = | ||
65 | |||
66 | [[[[image:HiddenLockedStrong.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:HiddenLockedStrong.png]] | ||
67 | |||
68 | = Protected / Locked Wiki = | ||
69 | |||
70 | [[[[image:ProtectedLocked.png||style="border:1px solid black; padding:1px; display:block;"]]>>attach:ProtectedLocked.png]] | ||
71 | |||
72 | {{success}} | ||
73 | **Next: [[Step 7 Creating a basic application>>CreatingABasicApp]]** | ||
74 | {{/success}} |