[dokuwiki] hybrid msyql/plain auth module?

Hello,

I'm looking for a decent way to realize the following functionality.

I have my wiki set to read-only for non authenticated users.

I have a user database in mysql. I want to authenticate from that db, however it does not have usable "group" information in that db.

What I would like is the ability for any authenticated user via the mysql db to automatically gain "edit" capabilities. On top of that, I then want to be able to give certain authenticated users additional permissions (ie. add users to other defined groups) internal to dokuwiki, and have this information be stored separate from the db.

It would appear to me that a hybrid of the mysql and plain authentication methods may do the trick. The 'mysql' part would take care of all user information (Login, Password, Real Name, E-Mail) and the 'plain' part would contain the Groups lookup based on Login.

I do not want the ability to create, update or delete users from the db via dokuwiki. However it would be necessary to be able to create, update and delete the user->group dokuwiki mappings. The user manager should be able to modify only the group information.

Has anyone implemented this functionality previously (yah, I'm looking to save some effort here), or can those with a better knowledge of this function spot any inherent issue that would cause a problem if I tried to implement this?

Thanks.

chris

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

Other related posts: