Wiki source code of Wiki Access Configurations

Last modified by Eleni Cojocariu on 2026/10/20 11:28

Show last authors
1 How open a wiki is comes down to two independent settings, both made in the "Rights" section of its administration: what a visitor who is not logged in may do, and who may create an account. Each configuration below says what the rights grid has to show, and [[Set the Rights of a Wiki>>doc:documentation.xs.admin.rights.set-wiki-rights.WebHome]] describes how to tick it.
2
3 They are written as allowed rights rather than as denied ones because allowing a right to a group denies it to everyone the wiki does not mention, which [[Rights Resolution>>doc:documentation.xs.admin.rights.rights-resolution.WebHome]] explains. Closing a wiki is a matter of granting a right to the people who should keep it.
4
5 {{image reference="wiki-rights-grid.png" size="extra" alt="The rights grid of the wiki administration on its Groups tab, showing the XWikiAdminGroup and XWikiAllGroup rows and the three check boxes below the grid"/}}
6
7 == What a visitor may do ==
8
9 A visitor is someone reading the wiki without being logged in. The check boxes of the last column are the two under the grid, which [[Restrict the Wiki to Registered Users>>doc:documentation.xs.admin.rights.restrict-wiki-registered-users.WebHome]] describes.
10
11 |=What a visitor may do|=What the "Groups" tab shows|=Check boxes|=How
12 |Read, but neither comment nor edit. //This is the configuration XWiki installs.//|"Comment" and "Edit" allowed to ##XWikiAllGroup##|clear|nothing to do
13 |Read and comment|the same, plus "Comment" allowed to "Unregistered Users" on the "Users" tab|clear|[[Open the Wiki to Unregistered Users>>doc:documentation.xs.admin.rights.open-wiki-unregistered-users.WebHome]]
14 |Read, comment and edit|the same, with "Edit" allowed to them as well|clear|[[Open the Wiki to Unregistered Users>>doc:documentation.xs.admin.rights.open-wiki-unregistered-users.WebHome]]
15 |Nothing, except on the pages that allow them|"View" allowed to ##XWikiAllGroup## as well|clear|[[Set the Rights of a Wiki>>doc:documentation.xs.admin.rights.set-wiki-rights.WebHome]], then [[Set the Rights of a Page>>doc:documentation.xs.admin.rights.set-page-rights.WebHome]] on each page that stays public
16 |Nothing, on any page|whatever it shows|both selected|[[Restrict the Wiki to Registered Users>>doc:documentation.xs.admin.rights.restrict-wiki-registered-users.WebHome]]
17 |Nothing, and registered users read nothing either|"View", "Comment", "Edit", "Delete", "Admin" and "Register" allowed to ##XWikiAdminGroup##, and nothing allowed to ##XWikiAllGroup##|both selected|[[Restrict a Wiki to Administrators>>doc:documentation.xs.admin.rights.restrict-wiki-administrators.WebHome]]
18
19 == Who may create an account ==
20
21 |=Who may create an account|=What the "Groups" tab shows|=How
22 |Anyone, visitors included. //This is the configuration XWiki installs.//|"Register" allowed to no group|nothing to do
23 |Any registered user, but not visitors|"Register" allowed to ##XWikiAllGroup##|[[Set the Rights of a Wiki>>doc:documentation.xs.admin.rights.set-wiki-rights.WebHome]]
24 |An administrator only, who then creates the accounts|"Register" allowed to ##XWikiAdminGroup##|[[Close the Registration of a Wiki>>doc:documentation.xs.admin.rights.close-wiki-registration.WebHome]]
25
26 The two settings do not interfere: any line of the first table holds with any line of the second.

Get Connected