summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-08-13 09:46:18 +0200
committerjustdave%syndicomm.com <>2001-08-13 09:46:18 +0200
commit01503e37e5415702b30e0fe8ff58c31d69e404a0 (patch)
treed205f568e0c72067b29a8de26a250b584a9d6e0d /checksetup.pl
parent9d47ee0878f9cad6f23ae7cd631ce62b3843dc73 (diff)
downloadbugzilla-01503e37e5415702b30e0fe8ff58c31d69e404a0.tar.gz
bugzilla-01503e37e5415702b30e0fe8ff58c31d69e404a0.tar.xz
Fix for bug 39816: Anyone in CC, Reporter, QA Contact, or Asigned To fields can now be given access to view a bug even if the permissions on that bug are set to a group that would normally exclude those people.
Patch by Myk Melez <myk@mozilla.org> r= justdave@syndicomm.com
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 14a58eee0..4eeec8ef1 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -894,6 +894,10 @@ $table{bugs} =
. '
lastdiffed datetime not null,
everconfirmed tinyint not null,
+ reporter_accessible tinyint not null default 1,
+ assignee_accessible tinyint not null default 1,
+ qacontact_accessible tinyint not null default 1,
+ cclist_accessible tinyint not null default 1,
index (assigned_to),
index (creation_ts),
@@ -2455,6 +2459,15 @@ if (GetFieldDef('bugs_activity', 'oldvalue')) {
# http://bugzilla.mozilla.org/show_bug.cgi?id=90933
ChangeFieldType("profiles", "disabledtext", "mediumtext not null");
+# 2001-07-26 myk@mozilla.org bug39816:
+# Add fields to the bugs table that record whether or not the reporter,
+# assignee, QA contact, and users on the cc: list can see bugs even when
+# they are not members of groups to which the bugs are restricted.
+AddField("bugs", "reporter_accessible", "tinyint not null default 1");
+AddField("bugs", "assignee_accessible", "tinyint not null default 1");
+AddField("bugs", "qacontact_accessible", "tinyint not null default 1");
+AddField("bugs", "cclist_accessible", "tinyint not null default 1");
+
# If you had to change the --TABLE-- definition in any way, then add your
# differential change code *** A B O V E *** this comment.
#