[pmwiki-users] Still Problems with Auth Users and Groups
crisses at kinhost.org
Tue Nov 7 20:06:34 CST 2006
On Nov 7, 2006, at 6:04 PM, Boris Schwarz wrote:
> My Goal is to define Groups and to tell pmwiki or AuthUser.php that
> users A
> and B are members of Authentication group Management.
> Further on Members A and B and C and D are members of the
> group Staff for example.
> Eventually i would like to allow the Authentication group
> Management to edit
> and read any group pages on my pmwiki.
> On the other side though the groups staff should only be allowed to
> main.HomePage and all other pages with main.* but they are allowed
> to read
> and edit staff.homepage and all other pages with staff.*. At the
> same time
> though they should not be able to read or edit management.homepage
> and any
> pages starting with management.*
> PM was so kind to explain to me what you see below in quotations.
> My questin
> back then was a little different so the @admin, @management etc.
> wont be
> right but the authentication process/setup should be the same. I am
> not capable of following these instructions since i dont unerstand
> how to
> define groups so authuser know which memebers are part or which
> group and
> how can i tell authuser that group staff can only read main.* but
> not edit
> with attributes?
> Did I misunderstand someting, is it actually possible to use
> groups and to include certain users and then allow these
> groups to either read edit or not to read or edit certain site
> groups like
> I would be happy if someone could help me im my state of confusion
> Boris Schwarz
Whenever you set configuration options in config.php they work on the
entire website, such as:
$DefaultPasswords['read'] = array('@admin', '@management');
will grant read permissions on the entire site to only the admins and
Group and Page permissions OVERRIDE the config.php directives. If
you set the edit for the group, it ignores the config.php for that
group and uses the new permissions for that group.
So if you go to
you can override any default permissions for the Main group set in
config.php. You want @staff to be able to read this group so you
would change this web form's read permission to "@admin, @management,
needs to have edit permissions that include @staff
You can also change the permission on a single page instead of a
I think you actually understood it in the end, but does that help?
Also, keep in mind there are no pages staff.* -- it would be Staff.* :)
More information about the pmwiki-users