[pmwiki-users] How to protect an action ?

Roman 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.

Roman

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).
> >
> >so
> >
> >$HandleAuth['diff'] = 'edit';
> >
> >
> Marvellous, many thanks.
> JDem
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list