Last modified by Alexandru Pentilescu on 2023/06/25 18:56

From version 38.1
edited by Alexandru Pentilescu
on 2022/06/09 22:41
Change comment: There is no comment for this version
To version 36.1
edited by Alexandru Pentilescu
on 2022/06/09 22:38
Change comment: Upload new image "Denied.png", version 1.1

Summary

Details

Page properties
Content
... ... @@ -241,14 +241,12 @@
241 241  Congratulations, you've finished your first installation!
242 242  
243 243  
244 -= Post-installation configurations that are a good idea =
245 -
244 += Post-installation configurations that are a good idea=
246 246  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?
247 247  Well, not quite...
248 248  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.
249 249  
250 -== Disable guest registration ==
251 -
249 +== Disable guest registration==
252 252  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.
253 253  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.
254 254  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.
... ... @@ -257,10 +257,7 @@
257 257  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.
258 258  Empty means that no particular configuration has been made with respect to that right for that user.
259 259  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:
260 -[[image:Denied.png]]
261 261  
262 -I intentionally left the "View" and "Comment" rights specifically allowed for "Unregistered Users" as I believe that visitors should, intrinsically, have the ability to contribute to content as they see fit, without having to register for an account. You may wish to tweak these user rights as you see fit, though.
263 -
264 264  = External references =
265 265  
266 266  [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]