From 1df6b7e2446ba03e395cb8a68b9fe0f1753c6446 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 27 May 2006 19:25:52 +0000 Subject: [PATCH] r846: Adding an email options bitfield --- includes/permissions.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/includes/permissions.php b/includes/permissions.php index 77324aa..9015e4e 100644 --- a/includes/permissions.php +++ b/includes/permissions.php @@ -51,6 +51,27 @@ foreach ($_PERMISSION AS $name => $maskvalue) define(strtoupper($name), $maskvalue); } +$bugsys->emailoptions = array( + // a user's relation to the bug + 'reporter' => 1, // report the bug + 'assignee' => 2, // assigned to the bug + 'favourite' => 4, // on the favourites list + 'voter' => 8, // voted for the bug + 'commenter' => 16, // left a comment on the bug + + // notifiaction 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 + + // exclusionary + 'notunconfirmed' => 2048, // not for unconfirmed bugs + 'notbyme' => 4096 // not for changes by me +); + /*=====================================================================*\ || ################################################################### || # $HeadURL$ -- 2.22.5