<?php if (!defined('PmWiki')) exit(); // This sets the attributes on user WikiGroups. $groupname = FmtPageName('$Group',$pagename); $name = $_SESSION['username']; if ($name && ($name == $groupname)) { $ExternAuthGroupAttributes{$name}{'rename_user'} = $username; $ExternAuthGroupAttributes{$name}{'upload_user'} = $username; $ExternAuthGroupAttributes{$name}{'attr_user'} = $username; } $ExternAuthGroupAttributes{'Calendar'}{'edit_group'} = 'staff'; $ExternAuthGroupAttributes{'Calendar'}{'attr_group'} = 'staff'; $ExternAuthGroupAttributes{'Calendar'}{'upload_group'} = 'staff'; $ExternAuthGroupAttributes{'Calendar'}{'rename_group'} = 'staff'; $ExternAuthGroupAttributes{'ExampleGroup'}{'read_user'} = 'username'; $ExternAuthGroupAttributes{'ExampleGroup'}{'edit_user'} = 'username'; $ExternAuthGroupAttributes{'ExampleGroup'}{'attr_user'} = 'username'; $ExternAuthGroupAttributes{'ExampleGroup'}{'upload_user'} = 'username'; $ExternAuthGroupAttributes{'ExampleGroup'}{'rename_user'} = 'username';