[ moin-Patches-1099576 ] Automatic account creation

"SourceForge.net" <[email protected]> Mon, 10 Jan 2005 09:16:28 -0800
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Patches item #1099576, was opened at 2005-01-10 17:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=308482&aid=1099576&group_id=8482

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian E. Gallew (geekatcmu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Automatic account creation

Initial Comment:
Premise: http_auth_enabled isn't very interesting (as
is) when all of your users are authenticated via a
trusted mechanism as they all must go through a second
sign-on process (admittedly, only once).

My patch includes a couple bits:
1) adds an auto_account variable to multiconfig.py
(defaults to 0 of course).
2) Modifies User.__init__ in user.py such that, if
auto_account and http_auth_enabled are both set,
default some user information and save it.
3) Modifies normalizeName in user.py such that "." and
"@" are permissible characters in usernames.  This is
necessary for my environment because we use
mod_pubcookie for authentication. mod_pubcookie returns
userids like "[email protected]" (e.g. the Kerberos
domain is part of the id).

If this patch is accepted I'll update the appropriate
documentation.  If the documentation has to come first,
let me know and I'll deal with it. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=308482&aid=1099576&group_id=8482


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt