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 'candeletedata' => 16777216, // can delete data (bugs, comments) 'canviewownhidden' => 33554432 // can view own hidden bugs ); bugdar::$emailOptions = array( 'relations' => array( // a user's relation to the bug '-notapplicable-' => 0, // not applicable 'reporter' => 1, // report the bug 'assignee' => 2, // assigned to the bug 'favorite' => 4, // on the favorites list 'voter' => 8, // voted for the bug 'commenter' => 16 // left a comment on the bug ), 'notifications' => array( // notification message types 'assignedto' => 32, // I am made the assignee 'statusresolve' => 64, // status or resolution changes 'duplicates' => 128, // a duplicate bug is added 'newcomment' => 256, // new comment 'newattachment' => 512, // new attachment 'otherfield' => 1024, // any other field changes 'newbug' => 2048 // new bug ) ); ?>