[dokuwiki] Re: Tweaking authentication

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 22 Jan 2006 13:26:39 +0100

> > I'd like to get a new release out in the next two weeks. A list of
> > things I think that are to do before is at wiki:todo
> >   
> If I get you the acl install script in the next week can that go in?

Yes I guess so. Maybe we should put in the config and usermanager plugin
as well?

> Ok, how far do you want to go with removal of old style backend?
> - remove old style auth files and references in auth.php?
> - above + remove sanity checking (if method_exists functionality)?
> - above, plus replace all current references in main code base to auth
> functions, with auth obj and methods?
> [ You're going to ask for the last one, I bet ;-) ]

:-) exactly
 
> The canDo should be straight forward, e.g. adding the following to the
> 
> the base class.
> 
> function canDo($fn) { return (method_exists($this, $fn); }
> 
> Then auth backends, like mysql, which rely on external configuration, 
> can override that method with their own checks.  And I guess plain 
> backend should check user file is writable.

Good idea!

Andi

-- 
http://www.splitbrain.org
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: