[pmwiki-users] GroupAttributes question.
tmdowling at gmail.com
Tue May 9 06:57:53 CDT 2006
On 5/9/06, Stirling Westrup <sti at pooq.com> wrote:
> I'm sure this is a simple question to answer, but I'm currently having
> no luck finding it on the site. I have a personal site where anyone can
> read the pages, but there is an admin password set for editing and
> pretty much every other action. This is configured via the standard
> local/config.php file.
> Now, I would like to create a group called Private that can only be read
> by someone who has entered the admin password (whatever it currently
> is). I know I can just enter a password in the read field of
> Private.GroupAttributes, but I don't want to have to remember to re-edit
> it every time I change the admin password in the config.php file. 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.
More information about the pmwiki-users