[pmwiki-users] Setting page privs from config.php

DaveG pmwiki at solidgone.com
Thu Oct 1 09:28:23 CDT 2009

On 10/1/2009 8:36 AM, Peter Bowers wrote:
> On Thu, Oct 1, 2009 at 5:28 AM, DaveG<pmwiki at solidgone.com>  wrote:
>> Is there a way to set the permissions for a particular page from within
>> config.php? I'd like to change the permissions of a single page in a
>> group that is secured with an admin password, so the one page is secured
>> with an edit password (ie, if I login with an edit password I can edit
>> the page).
> It's probably overkill, but you could inherit a new class from
> PageStore which does everything the same except after doing a read()
> it checks for the pagename and alters the 'passwdedit' attribute.
Definitely overkill, but perhaps I can just change the passwdedit 
attribute without a pagestore -- I'll investigate that route.

More information about the pmwiki-users mailing list