From 6a9e0b8bce25c65cdbcd80f01b064acd153c1bdb Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Tue, 18 Feb 2014 08:12:41 -0400 Subject: [PATCH 1/1] use adminuser --- ...nvert_the_banned__95__user_check__63__.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/forum/How_can_I_invert_the_banned__95__user_check__63__.mdwn b/doc/forum/How_can_I_invert_the_banned__95__user_check__63__.mdwn index dc9c2542f..90cd7f75c 100644 --- a/doc/forum/How_can_I_invert_the_banned__95__user_check__63__.mdwn +++ b/doc/forum/How_can_I_invert_the_banned__95__user_check__63__.mdwn @@ -6,3 +6,21 @@ Trying to lockdown a wiki so that it can only be edited by certain users and fig in my config but it doesn't work. I'm sure I must be doing something daft? PS: the user is authenticated via 'httpauth', would that make a difference? + +> That's not how `banned_users` works. Make yourself an admin: +> +> adminuser: +> - myadmin +> +> and disallow editing by non-admins: +> +> locked_pages: '*' +> +> You can enable the `opendiscussion` and/or `anonok` plugins if you want +> unprivileged users, perhaps logging in with an OpenID, to be able to +> edit discussion pages (if enabled via `discussion`) or post comments. +> +> You can also relax the `locked_pages` setting if you want unprivileged +> users to be able to edit certain areas of the site. +> +> --[[smcv]] -- 2.45.0