[pmwiki-users] Passwords for "uncritical" actions

Daniel Scheibler scheibi at gmail.com
Sun May 22 05:38:40 CDT 2005


Hi Jo,

I use at my wiki-farm this inside the config.php:

## Passwortschutz fuer source- und diff-Action
if ($action=='source') {
  $page = RetrieveAuthPage($pagename, "edit");
}
if ($action=='diff') {
  $page = RetrieveAuthPage($pagename, "edit");
}

This code will request the password for edit-action.

Greets,

scheiby.
-- 
Daniel Scheibler     ========:}       student at
eMail: scheibi at gmail.com              BTU Cottbus/Germany
WWW:   http://www.scheiby.org

2005/5/22, Joachim Durchholz <jo at durchholz.org>:
> Hi all,
> 
> one of my customers just requested a password on the actions "source"
> and "diff".
> 
> Is there a simple way to implement this?
> Any hope of including that in the core?
> 
> Regards,
> Jo




More information about the pmwiki-users mailing list