Changes for page How to setup an XWiki docker container
Last modified by Alexandru Pentilescu on 2023/06/25 18:56
From version 33.1
edited by Alexandru Pentilescu
on 2022/06/09 22:08
on 2022/06/09 22:08
Change comment:
There is no comment for this version
To version 36.1
edited by Alexandru Pentilescu
on 2022/06/09 22:38
on 2022/06/09 22:38
Change comment:
Upload new image "Denied.png", version 1.1
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -229,6 +229,33 @@ 229 229 230 230 Press "Install". 231 231 232 +After some time, the following screen should appear: 233 +[[image:Screenshot_20220607_021031.png]] 234 + 235 +Press "Continue". Admittedly, this took several attempts on my end. I had to press "Continue" multiple times and a Time-out error appeared many times over, indicating that the process failed at some point. 236 + 237 +Not sure what was wrong, or what was even timing out. All the packages were supposed to already be provided by the XIP package which I already unarchived, so all the files should have been locally accessible for the server. Was it downloading something else in the process? Don't know. 238 +If you encounter a similar bug, please be persistent and keep on pressing "Continue" for another couple of times, like I did, around 3 or 4 times. If no progress is being made, press the "Later" button instead. If that button is disabled, press the "Select other flavor" at the top first and then press "Later", so that the installation of the Standard flavor is skipped. I did that and eventually it took me to the full Wiki page. 239 +Proceed through the next installation steps and eventually finish the setup wizard entirely. 240 +Once this is done, you should be directed to your XWiki's greeting page! 241 +Congratulations, you've finished your first installation! 242 + 243 + 244 += Post-installation configurations that are a good idea= 245 +You've setup an administrative account, you installed the Standard flavor package and now the Wiki is up and running. You're pretty much done, right? 246 +Well, not quite... 247 +There are still certain configurations which are a good idea that you should do. First and foremost, you should disable account registration, if possible, to ensure that rogue visitors don't get to pollute your database with bogus names. The user registration process is available to all visitors, by default, and this means that literally anyone can register an account on your Wiki. Which may be what you want or it might not be. For me, I prefer creating user accounts manually as the administrator so I opted to turn off the registration option. I suggest you do the same. 248 + 249 +== Disable guest registration== 250 +Log into your administrative account if you're not already logged in. Press the hamburger menu button at the top right of the grettings page and open the side menu. From there, select the "Administer Wiki" option. 251 +On the new page, expand the "Users & Rights" left panel and then click on the "Rights" menu option. You should then be redirected to a "Global Administration: Rights" page. Here, you can micro-manage the rights of every single user and groups of users. Explaining user rights and the exact functions of each of these options is outside the scope of this wiki. For now, I'll only describe the disabling of the registration. 252 +There's a horizontal combo box on the new page with the "Groups" and "Users" options, on the top of the page. Click on the "Users" option. 253 +Here, you can micro-manage the rights of individual users. The "Register" checkbox is what we're after. We must deny registration rights to unregistered users. 254 +It may seem that this right is already denied by default for all users, given that the Registration checkboxes will appear empty on your end. This is a quirk of the XWiki access rights UX. Despite these looking like checkboxes, they are not, in fact, traditional checkboxes. 255 +In computer graphics design, one of the most fundamental lessons is that the element of a Checkbox is the graphical equivalent of a mathematical boolean variable (i.e. it must have only one of two states, at any point in time): a checkbox must either be checked or unchecked. The XWiki Rights panel has a different kind of checkbox, though, one that can take 1 of 3 states: empty, allowed and denied. In most cases, the default is the empty state. 256 +Empty means that no particular configuration has been made with respect to that right for that user. 257 +In our case, we wish to deny registration rights for unregistered users, so we have to set the "Registration" checkbox of the "Unregistered Users" row in that table to the "denied" state, like in the screenshot below: 258 + 232 232 = External references = 233 233 234 234 [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]
- Denied.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AlexandruPentilescu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +126.0 KB - Content