[pmwiki-users] Unable to authorize by group
Darren Gamble
darren.gamble at sjrb.ca
Tue Dec 4 13:16:59 CST 2007
Good day,
I'm trying to set up a new pmwiki 2.1.27 setup to work with userids and groups, via authuser.php. I've been easily able to authorize users to pages, but I can't seem to authorize by group membership. It seems pretty clear in the documentation on how this should work, but I've been completely unsuccessful.
Here are the details on the setup:
Users authenticate to apache via mod_auth_tkt, so I added to config.php:
$AuthId = $_SERVER['REMOTE_USER'];
... which works great. Adding "id:dgamble1" to a page's "edit" field for a page's "action=attr" page works as expected, and was also successfully denied (i.e. presented with the page to enter the admin password) when it was changed to a different username.
However, I've been completely unsuccessful at authorizing by group membership.
I set:
@rsc
as the edit password field. But, users in that group still don't have access. I tried defining it in Site.AuthUser as:
@rsc: dgamble1
... and then tried:
dgamble1: @rsc
... and failing that, then instead tried:
$AuthUser['@rsc'] = array("dgamble1");
... in config.php, but, nothing worked. To ensure that there was no conflicts with the "admin" login, I did all of my testing on a second machine.
Any suggestions?
============================
Darren Gamble
Systems Architect, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
More information about the pmwiki-users
mailing list