[pmwiki-users] a read-only wiki
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 14 00:43:28 CDT 2008
[resending -- for some reason my original didn't get sent properly --Pm]
On Mon, Aug 11, 2008 at 08:23:49PM -0500, Sofia M wrote:
> Here's the set-up that I'd like:
>
> 1) Everything is visible to 'the world'
> 2) All 'edits', changes in page attributes, page creations, page
> deletions, group additions, in general - any modifications at all -
> are only allowed to a small group of authorized users.
> 3) Authorized users defined in local/config.php, each with their own
> login/password, I've been trying to set that up with authuser
> 4) Any changes to 'Site' group are allowed only for administrator.
If it's a "small group of authorized users", does each user really
need to have a unique login? Would it be possible for them to all
use a shared password? That's easiest by far. If so, then the
configuration is simply:
## editing requires shared password
$DefaultPasswords['edit'] = crypt('sharedpassword');
## admin requires admin password
$DefaultPasswords['admin'] = crypt('adminpassword');
But if you really want each one to have a separate username/password,
then AuthUser is the way to go. In local/config.php, put:
## editing requires authenticated username
$DefaultPasswords['edit'] = 'id:*';
## admin requires admin password
$DefaultPasswords['admin'] = crypt('adminpassword');
Then, in SiteAdmin.AuthUser add usernames and passwords for each
person you want to be able to do editing on the site.
alice: (:encrypt alice-password:)
bob: (:encrypt bob-password:)
carol: (:encrypt carol-password:)
Hope this helps,
Pm
More information about the pmwiki-users
mailing list