[pmwiki-users] Setting page privs from config.php
Peter Bowers
pbowers at pobox.com
Thu Oct 1 07:36:26 CDT 2009
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.
Just a tho't...
-Peter
More information about the pmwiki-users
mailing list