1, // can view bugs 'cansearch' => 2, // can use the search 'cansubscribe' => 4, // can email subscribe 'canvote' => 8, // can vote on bugs 'cansubmitbugs' => 16, // can submit new bugs 'canpostcomments' => 32, // can post new comments 'cangetattach' => 64, // can dl attachments 'canputattach' => 128, // can ul attachments 'caneditown' => 256, // can edit own bugs 'caneditother' => 512, // can edit others' bugs 'caneditownreply' => 1024, // can edit own comments 'canassign' => 2048, // can assign bug 'canchangestatus' => 4096, // can change bug status 'canadminpanel' => 8192, // can view admin panel 'canadminbugs' => 16384, // can administrate bug functions 'canadminversions' => 32768, // can admin version info 'canadminusers' => 65536, // can admin users '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, 'caneditattach' => 2097152, // can edit attachments 'canviewhidden' => 4194304, // can see hidden bugs 'caneditotherreply' => 8388608 // can edit other peoples' comments ); foreach ($_PERMISSION AS $name => $maskvalue) { define(strtoupper($name), $maskvalue); } /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>