Trying to lockdown a wiki so that it can only be edited by certain users and figured I'd just set
banned_users: - !user(myadmin)
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_usersworks. Make yourself an admin:
adminuser: - myadmin
and disallow editing by non-admins:
You can enable the
anonokplugins 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_pagessetting if you want unprivileged users to be able to edit certain areas of the site.
That was my initial setup but it wasn't working and I got caught-up on the
banned_useridea. It would seem I was getting tricked by some credential-caching-weirdness. Fired up another browser and
locked_pagesworks perfectly. Thanks. -- fergus