[pmwiki-users] How to protect an action ?
romat2 at gmail.com
Tue Jan 17 07:01:35 CST 2006
I protect it this way (in config.php):
if ($action=='diff') $action='browse';
(and similarily for other protected actions)
In this case pmwiki doesn't come with password page which is looks
better for me.
On 1/17/06, Jean DEMARTINI <jean.d.demartini at wanadoo.fr> wrote:
> H. Fox a écrit :
> >>From the release notes:
> > ...setting $HandleAuth['diff'] to 'edit' means that
> > edit authorizations are required to view the page
> > history (?action=diff).
> >$HandleAuth['diff'] = 'edit';
> Marvellous, many thanks.
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users