I've attached some initial spreading of WikiUserNew. I am hoping Reini =
will
adopt it. Remove the word stub from the end of the file as SF doesn't =
allow
.zip
WikiUser Class is a container for a handler that calls WikiAuth object,
which does the Authentication and Storage of WikiUsers. Inspired by =
WikiDB.
Going this way would make implementing authentications schemes a bit =
easier
and cleaner. The "object-morphing" style that we have would be better =
served
by an external handler (Like all the stuff in main.php to determine =
which
user to create).
Also less of a headache to look at. :D
I also suggest updating the user structure to support uids. Makes =
handling
sessions easier.
Going this way would make a better interface for pnPhpWiki or any other
phpwiki as module since all we have to connect to is wikiauth.
Trying to figure out BOGO and if we really need it? That's a second =
headache
looking at the code. What is a bogo? Grr.
I'm trying to move pnPhpWiki out of alpha to a beta. With the new page
permissions and wikiuser.php seems broke against CVS. I am eagerly =
waiting
release 1.3.8 so I can snapshot against that code base and do =
experimental
stuff later.
I think we have a lot of shake out with WikiUser before a release, =
however.
-Jtp
|