[pmwiki-users] upload page permissions...

Kathryn Andersen kat_lists at katspace.homelinux.org
Wed Jun 18 19:03:15 CDT 2008


On Wed, Jun 18, 2008 at 04:19:57PM -0700, adam overton wrote:
> i'm trying to allow users with 'edit' permissions to upload files to  
> their pages.
> this is my current set of permissions for the site:
> 
> 	$DefaultPasswords['admin'] = crypt('adminPwd'); // sets the admin  
> password
> 	$DefaultPasswords['edit'] = crypt('defaultPwd'); // sets the  
> password to edit all pages on the entire site
> 	$AuthCascade['upload'] = 'edit';  // if you can edit, then you can  
> upload

I wasn't aware of the existance of the $AuthCascade variable.  I would
have used:

$HandleAuth['upload'] = 'edit';
 
Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list