[dokuwiki] Re: Proposal for an AUTH_USERDATA_CHANGE event

  • From: "Gabriel Birke" <Gabriel.Birke@xxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Thu, 14 Aug 2008 17:45:59 +0200

> > An alternative to this would be changing the auth class system from
> > inheritance to composition: The current auth class API 
> > remains, but there is one auth class that dispatches the api call to 
> > various auth adapters. While I am certainly able to do such a change,
> > I won't do it without having the OK from the community.
> 
> Couldn't we combine this? We change our code to call
> $auth->triggerUserMod($type,...) which is a method of auth_basic and
> would wrap around $this->createUser and so on...

Ok, I have rewritten the changes - I like this new system much better, that
was a good idea!

Attached you find the new patch (against snapshot 2008-08-14) and an example
plugin for logging.

Greetings,

Gabriel

Other related posts: