[pmwiki-users] Alternate authorization levels for $EnableDiag actions

H. Fox haganfox at users.sourceforge.net
Mon Jun 11 01:22:55 CDT 2007


I would like to enable the diagnostic actions, but only for
edit-authorized visitors to the site.  I tried

   ## Enable remote diagnostics (?action=diag and ?action=phpinfo).
   $EnableDiag = 1;
   $HandleAuth['diag'] = 'edit';
   $HandleAuth['phpinfo'] = 'edit';

in a configuration file, but the diagnostic actions are still
available to a plain old read-authorized visitor.  How can I achieve
the desired effect?

Hagan



More information about the pmwiki-users mailing list