[pmwiki-users] GroupAttributes question.

Patrick R. Michaud pmichaud at pobox.com
Tue May 9 08:06:38 CDT 2006


On Tue, May 09, 2006 at 08:32:43AM -0400, Stirling Westrup wrote:
> Tegan Dowling wrote:
> > On 5/9/06, Stirling Westrup <sti at pooq.com> wrote:
> >> [...] Is
> >> there anything I can enter in a GroupAttributes field to say 'same as
> >> the admin password'? If not, is there anything I can put into the
> >> config.php file to have the same effect?
> > 
> > Just put garbage text in for the group's read attribute - then only
> > the admin password (whatever it may be at any time) will work.
> 
> That might work, but only because of the special features of the admin
> password. What if I wanted to do it with the edit password instead?

For the sitewide edit password (in config.php), use '@_site_edit'.  
I haven't tested this, but I think one can also use '@_site_admin', 
'@_site_read', '@_site_attr', etc. for the other site-wide passwords
set in config.php.

Pm




More information about the pmwiki-users mailing list