[dokuwiki] Re: Auth backend with User Manager Plugin

  • From: "Leah" <leah@xxxxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 9 May 2006 02:03:24 +0100

Thanks Chris.

> You are supposed to be able to disable it by setting 
> canDo['getUsers'] = false in your auth module.  I have had a 
> look at that and there seems to be some problems with how it 
> is being handled.

Slightly confusing, there's an array cando, and a function canDo, you do
mean the array?
 
> The two key fixes to the plugin are:
> line#47, change the array index, 'notsupported' to 'nosupport'
> line#78, change getLang to be a function call not an array, e.g. 
> getLang('menu').' '.$this->disabled;
> 
> This will give you a menu item saying "User Manager (user 
> management not supported)".
> The menu item is live, which isn't ideal, however selecting  
> it will not harm anything, simply generating a not so 
> explanatory "invalid auth mechanism" message.

That's better, thanks, fixed the empty menu list item. I still have "Add New
User", which does still generate the Registration form, and does nothing on
submission. 
 
Thanks again,
Leah


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

Other related posts: