* On 2009-09-30 DaveG ([email protected]) wrote: > [...] > > Change the page's attributes using "?action=attr" to your edit > > password. The page attributes override the group attributes for > > that page only. > > I'm actually looking for a way to do this from config.php, rather > than ?action=attr.
I don't know of a way to do that via the main configuration file config.php. But I think you can use a page customization file -- tough it is not recommended to set passwords in this way. Please take a look at http://pmwiki.org/wiki/PmWiki/GroupCustomizations for an explanation why it's not advised to set passwords via a page customization file. (Look at sections "Authentication" and the faq section "Why shouldn't passwords ..."). If I'm not mistaken that page also describes a way to override a group (edit) password in a page customization file (see section "Preventing group-Level configurations" and the faq section "Isn't that processing order ..."): In your page customization file: 1. if you need it, include the group customization file with include_once() 2. set your password 3. prevent loading of group customization: $EnablePGCust=0; Hope that helps Christian
signature.asc
Description: Digital signature
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
