From 65924fd907a55c905b692fd5c564d22657053999 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 7 May 2005 20:59:31 +0000 Subject: [PATCH] r96: Added CANEDITATTACH permission. --- admin/usergroup.php | 3 ++- includes/init.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/usergroup.php b/admin/usergroup.php index 8065450..6eac05f 100755 --- a/admin/usergroup.php +++ b/admin/usergroup.php @@ -105,7 +105,8 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') 'cansubmitbugs', 'canpostcomments', 'cangetattach', - 'canputattach'), + 'canputattach', + 'caneditattach'), 'moderation' => array( 'caneditown', 'caneditothers', diff --git a/includes/init.php b/includes/init.php index 15c44b9..7a0d770 100755 --- a/includes/init.php +++ b/includes/init.php @@ -212,7 +212,8 @@ $_PERMISSION = array( 'canadmingroups' => 131072, // can admin permission masks 'canadmintools' => 262144, // can use admin tools 'canadminfields' => 524288, // can admin custom bug fields - 'canbeassignedto' => 1048576 // can be assigned bugs + 'canbeassignedto' => 1048576, // can be assigned bugs, + 'caneditattach' => 2097152 // can edit attachments ); foreach ($_PERMISSION AS $name => $maskvalue) -- 2.43.5