[pmwiki-users] what actions does HandleAuth control?
Tony Colley
frodo1990 at yahoo.com
Tue Aug 29 08:52:34 CDT 2006
In my local/config.php I have the following lines:
## Keep non-editors from doing most actions
$HandleAuth['diff'] = 'edit';
$HandleAuth['source'] = 'edit';
$HandleAuth['phpinfo'] = 'edit';
$HandleAuth['diag'] = 'edit';
$HandleAuth['ruleset'] = 'edit';
Only the diff and source actions seem to be affected, that is, I can still do the phpinfo, diag, and ruleset actions even though not "logged in". Attempting diff and source actions gives me a login page as expected.
I would like to have the diagnostic tools available, but only to editors. Is there another way to do this... or can $HandleAuth be extended to the diagnostic actions?
BTW, I'm currently running 2.1.15.
Thanks,
Tony
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Whenever a theory appears to you as the only possible one,
take this as a sign that you have neither understood the theory
nor the problem which it was intended to solve. -- Karl Popper
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
HOME PAGE: www.awcfamily.com
I have no control over anything that appears after this sentence.
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060829/42e041ce/attachment.html
More information about the pmwiki-users
mailing list