[Moin-user] disabling self-registration

Jose P. Carballo carballojose at gmail.com
Thu Feb 26 12:11:24 EST 2009


Hi, well I use TextCha <http://moinmo.in/TextCha> for that. In
http://moinmo.in/HelpOnTextChas there's the code that you have to add in the
configuration file. But instead of making intuitive questions like in the
help link, i just make one question, like this:

textchas_disabled_group = u"TrustedEditorGroup" # members of this
don't get textchas
    textchas = {
        'en': { # silly english example textchas (do not use them!)
*            u"Enter the secret password": ur"YOURSECRETPASSWORD",*

            # ...
        },
        'de': { # some german textchas
            u"Gib die ersten 9 Stellen von Pi ein.": ur"3\.14159265",
            u"Was ist das Gegenteil von 'Tag'?": ur"nacht",

            # ...
        },
        # you can add more languages if you like
    }


This way only people (or only you) who knows the secret password can
suscribe to your moinmoin.

There's something annoying about this that if TextCha is activated it will
always be asking for the password, even for editing, so it would be useful
to use the "textchas_disabled_group". Just add every user to the
TrustedEditorGroup. For help on making groups just read:
http://moinmo.in/MelitaMihaljevic/HelpOnGroups#Wiki_group_backend

Hope it helps.

2009/2/26 andy baxter <andy at earthsong.free-online.co.uk>

> Hello,
>
> Is there an easy way to set up moinmoin so that new users have to email
> me to get a login rather than register themselves? I've set up a moin
> wiki mainly for use as a quick and easy web publishing tool for stuff
> I've written myself, and I'm thinking that this would be an easy way to
> prevent it getting spammed while still allowing people I know or meet on
> the net to make comments if they ask me first.
>
> The only way I can think of doing it is to modify or delete the file
> .../lib/python2.5/site-packages/MoinMoin/action/newaccount.py
>
> But this seems a bit awkward and tricky so it would be good if there
> were an easier way.
>
> Thanks,
>
> andy
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>



-- 
Jose Pablo Carballo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20090226/83f65d59/attachment.html>


More information about the Moin-user mailing list