[pmwiki-users] How to password protect read/write access to everything in a category?

Alex Eftimiades alexeftimiades at gmail.com
Sun Jul 15 11:52:52 CDT 2012

I was working on a custom action. I sent out my code yesterday, but I  
am still not getting anywhere. Any help with a "password protect/ 
unprotect with editors password" action would be greatly appreciated.


On Jul 15, 2012, at 12:50 PM, Peter Bowers wrote:

> On Sun, Jul 15, 2012 at 5:43 AM, tamouse mailing lists
> <tamouse.lists at gmail.com> wrote:
>> You're doing something here I don't quite get. The action is going  
>> to be
>> done by formscript.php, yet ...
>> (See below)
>>> ===(snip)===
>>> # Rough (!!) pseudo-code for handling the form
>>> if (@$_GET['setpw']) {
>> Here, you calling PmWiki routines?
>> How do you do that?
> You're right.  I started with it all in config.php and then thought I
> would simplify the example by separating it into its own script, but
> that just complicates things because then you don't have access to
> pmwiki routines.
> A custom action is probably the better approach.
> -Peter

More information about the pmwiki-users mailing list