[pmwiki-users] authorization for pages which match a pattern

Patrick R. Michaud pmichaud at pobox.com
Fri May 4 11:20:18 CDT 2007


On Fri, May 04, 2007 at 06:14:49PM +0200, Anno wrote:
> Something like this in the config.php:
> 
> if (preg_match('/-Discuss/',$pagename))
> 	$DefaultPasswords['edit'] = '*';

Note that setting $DefaultPasswords['edit'] won't
have any effect if there's an edit password set 
by the GroupAttributes page.

Pm



More information about the pmwiki-users mailing list