[pmwiki-users] Bypassing the AuthUser

V.Krishn vkrishn at insteps.net
Thu Apr 22 10:56:38 CDT 2010

On Thursday 22 Apr 2010 3:27:53 pm Pierre Reinbold wrote:
> Hello all,
> This is my first message to the list and it concerns the possibility to
> bypass the pmwiki access rights to edit a page in a cookbook. It seems
> to be possible as cookbooks like Fox, Zap or WikiSH are able to do that.
> I'm programming a new action handler. As far as I understand the thing,
> to read a page, I can use RetrieveAuthPage to enforce the access rights
> restrictions or ReadPage to bypass them.
> But what are the functions to use to write a page ? For now, I use
> UpdatePage but it does seems to enforce the access rights.

I consider UpdatePage, ReadPage as low level functions in PmWIki.
Before updating or writing to page you could check auth validity by using 
RetrieveAuthPage and if things are as required.. then updatepage.

Alternative would be writing a UpdateAuthPage function.
Functions in http://www.pmwiki.org/wiki/Cookbook/Toolbox
could be a help.

> Any help appreciated, thanks to all !
> 3.14r
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users


More information about the pmwiki-users mailing list