[Moin-user] require moin auth

Barry Cornelius barry.cornelius at oucs.ox.ac.uk
Sat Dec 13 04:52:52 EST 2008


On Fri, Dec 12, 2008 at 03:02:03PM -0800, Jeremiah Jester wrote:
> How do i require a registered user to authenticate before they can edit
> or create content? 

We have a few wikis where, even though a person can create an account,
they are unable to create/write pages unless their username appears
in the wiki page:
    http://wiki.site.com/AuthorsGroup 
This file has to have lines like:
    #acl AuthorsGroup:read All:
     * GeorgeBush
     * GordonBrown
We have a group called AdminGroup that contains the administrators
of the wiki.   They are listed in the wiki page:
    http://wiki.site.com/AdminGroup 
These people do not need to appear in the AuthorsGroup file.

The wiki is configured as follows:
    acl_rights_before = u"AdminGroup:read,write,delete,revert,admin"
    acl_rights_default = u"AuthorsGroup:read,write All:read"

The front page of the wiki has some text like:
    If you wish to write to this wiki, please e-mail XXXX
When a person e-mails asking to be permitted to create/write pages,
we just add a line:
     * FirstnameLastname
to the wiki page:
    http://wiki.site.com/AuthorsGroup 
and then advise the person to create an account with the username:
    FirstnameLastname

> Also, in what file can i find a list of all registered users?

I'm unable to help you with this.

--
Barry Cornelius
Oxford University Computing Services
University of Oxford, 13 Banbury Road, Oxford, OX2 6NN, UK
www.barrycornelius.com     01865 273267 or +44 1865 273267

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/moin-user/attachments/20081213/c10314ce/attachment.sig>


More information about the Moin-user mailing list