[pmwiki-users] Group access rules

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 11 14:57:19 CDT 2006


On Mon, Sep 11, 2006 at 09:48:24PM +0200, pmwiki Besenreuther wrote:
> Hi List, hi Patrick,
> 
> I've just problems with the group rights, can you help me?
> 
> I've following configuration:
> 
> I defined following user and groups in config.php:
>  $AuthUser['udo'] = array(crypt('udo'));
>  $AuthUser['bob'] = array(crypt('bob'));
>  $AuthUser['alice'] = array(crypt('wonder'));
>  $AuthUser['@meinegruppe'] = array('udo','bob','alice');
>  $AuthUser['@meinedit'] = array('alice');
> 
> defined group rights in Group.Group:
> name=Group.Group
> passwdread=@meinegruppe
> passwdedit=@meinedit
> passwdupload=@meinedit
> 
> When I go to the page Group.Group everything goes well, all defined users can read only alice can edit.
> But when I go to the page Group.Page1 everyone can read and edit.

To define attributes for an entire group, use Group.GroupAttributes,
not the group's start page.

Pm




More information about the pmwiki-users mailing list