[pmwiki-users] Semi-automatic user accounts for fox forum

Hans design5 at softflow.co.uk
Wed Jul 9 13:56:49 CDT 2008


Wednesday, July 9, 2008, 3:54:22 PM, Vince Administration wrote:

>  The idea is to have read access to anyone,  but
> posting only for authenticated users.  For a start I would like the  
> users to authenticate themselves by filling in a form.

Not sure how this can be done. The standard way for granting users
some authorisation in PmWiki would be to install PmWiki.AuthUser
and add user id's to SiteAdmin.AuthUser.

Fox or FoxForum has no separate user management. It is perceivable
that Fox could be used to add userid/password pairs to
SiteAdmin.AuthUser. But that alone will not grant any access rights.
The userid needs to be added to a @group as well. Fox could do that
too I guess. And then that user group, say call it @forummembers, can
be used as id for an edit password for the Forum wiki group,
and you set for that Forum group  $FoxAuth = 'edit';

Of course the initial NewForumMember form needs to be able/allowed to
post (add) to SiteAdmin.AuthUser.

This may work (not tried any of this), but as soon as we let users
add themselves plus password to SiteAdmin.AuthUser we have the problem
to check first if the userid does already exist. And most likely
users would like to be able to change their password. I don't see any
simple solution there.

Oh, I just remember: there is this recipe to check out:
http://www.pmwiki.org/wiki/Cookbook/HtpasswdForm
It has (amongst many others) this config option:

$HtpasswordNewUsers
    When set to 1, a new user form is provided to unauthenticated users,
    allowing them to register themselves (defaults to 0).

This may well be the ticket! and forget all I wrote above about
adding users with Fox!


  ~Hans




More information about the pmwiki-users mailing list