[dokuwiki] Re: [PATCH] MySQL canDo() patch

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 30 Jan 2006 22:07:56 +0000

Andreas Gohr wrote:

On Mon, 30 Jan 2006 21:35:07 +0100
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

the patch changed the following:
1. adds the canDo() function to the MySQL backend
2. renames the option 'encryptPass' to 'forwardClearPass'
3. reorganize mysql.conf.php.example to make clear which
statements enable which functions.
excellent :-)

Or nearly :-)

canDo returns always false when I don't set the lockTables array.
There is no need for locking on readonly accesses. This should be
changed.

The Profile button needs delGroup and delUserGroup configs? Probably
because it's checked with modifyUser? Chris? Any ideas? I don't want to
configure any deletion commands, but like the Profile management...

Andi
You've lost me.

delGroup isn't part of the basic class, though perhaps it should be added. I don't see the group modification occuring via profile screen.

delUserGroup, I take you mean "leaveGroup". That does exist, but again I don't see it occuring via profile screen.

Or are you refering to UserManager plugin?
Where leaveGroup & joinGroup should be tested before enabling user input in the groups field and before sending group data to modifyUser. I'll work out a patch for that and forward it asap.


Cheers,

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

Other related posts: