From 01503e37e5415702b30e0fe8ff58c31d69e404a0 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Mon, 13 Aug 2001 07:46:18 +0000 Subject: 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 r= justdave@syndicomm.com --- checksetup.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'checksetup.pl') 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. # -- cgit v1.2.3-24-g4f1b