Wiki source code of Administration Scope

Last modified by Eleni Cojocariu on 2026/11/25 15:02

Hide last authors
Eleni Cojocariu 1.1 1 Administering XWiki is not one place but four, and which one a setting lives in decides who may change it and whether the server has to be stopped. Three of them are in the browser, on the running wiki; the fourth is on the server.
2
3 == The four places ==
4
5 |=Where|=What it reaches|=What it needs|=When it takes effect
Eleni Cojocariu 1.5 6 |[[Page administration>>doc:documentation.xs.admin.page.administer.WebHome]]|A Page and the Pages below it.|The "Admin" right on that Page.|At once.
Eleni Cojocariu 1.6 7 |[[Wiki administration>>doc:documentation.xs.admin.wikis.administer.WebHome]]|A whole wiki.|The "Admin" right on the wiki.|At once.
Eleni Cojocariu 1.1 8 |[[Extension Manager>>doc:extensions:Extension.Extension Manager Application]]|What the wiki can do at all, by [[installing an extension>>doc:documentation.xs.user.extensions.WebHome]].|The "Admin" right, and the "Programming" right for [[some extensions>>doc:documentation.xs.admin.upgrade.flavor.upgrade-distribution-wizard.impact-programming-rights.WebHome]].|When the install finishes, without touching the server.
9 |[[Configuration files>>doc:documentation.xs.admin.installation.configuration-files.WebHome]] and the server|The whole instance, every wiki included.|Access to the server filesystem, not a wiki right.|After the server is stopped, edited and restarted.
10
11 {{plantuml}}
12 @startuml
13 title Where an administrator makes a change
14
15 actor "Administrator" as admin
16
17 package "In the browser, on the running wiki" as browser {
18 rectangle "Page administration" as padm
19 rectangle "Wiki administration" as wadm
20 rectangle "Extension Manager" as em
21 }
22
23 package "On the server, with a restart" as server {
24 file "xwiki.cfg and xwiki.properties" as cfg
25 }
26
27 admin --> padm
28 admin --> wadm
29 admin --> em
30 admin --> cfg
31 @enduml
32 {{/plantuml}}
33
34 ##xwiki.cfg## and ##xwiki.properties## carry options the administration never shows, so a setting you cannot find in the interface is not necessarily missing.
35
36 == Rights decide who administers ==
37
38 The "Admin" right is what separates an administrator from a user. [[Right Types>>doc:documentation.xs.admin.rights.right-types.WebHome]] lists it with the others, and [[Rights>>doc:documentation.xs.admin.rights.WebHome]] explains which rule wins when one is set on a Page, on a branch and on the wiki at the same time. Granting it is itself done from the administration, with [[Set the Rights of a Wiki>>doc:documentation.xs.admin.rights.set-wiki-rights.WebHome]] and [[Set the Rights of a Page>>doc:documentation.xs.admin.rights.set-page-rights.WebHome]].
39
40 The ##superadmin## account is the exception: it bypasses the rights entirely, for the case where no administrator can log in, and it is [[disabled until you enable it>>doc:documentation.xs.admin.authentication.superadmin-account.WebHome]].

Get Connected