summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-02-13 12:05:13 +0100
committerbbaetz%student.usyd.edu.au <>2002-02-13 12:05:13 +0100
commitf6d4ac72db722002059a3495b413cd06f05fbf49 (patch)
treed4e69a75b976ff0cc821291c9280698641258724 /checksetup.pl
parente1235d08fc52ff4cb914efecda9b15c2b7943f5a (diff)
downloadbugzilla-f6d4ac72db722002059a3495b413cd06f05fbf49.tar.gz
bugzilla-f6d4ac72db722002059a3495b413cd06f05fbf49.tar.xz
Bug 97471 - The assignee and qa contact should always be able to see their
bugs r=justdave, afranke
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl17
1 files changed, 13 insertions, 4 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 05dcc8607..97b5d471f 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1028,8 +1028,6 @@ $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),
@@ -2627,9 +2625,10 @@ ChangeFieldType("profiles", "disabledtext", "mediumtext not null");
# 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.
+# 2002-02-06 bbaetz@student.usyd.edu.au - assignee/qa can always see the bug
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", "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");
# 2001-08-21 myk@mozilla.org bug84338:
@@ -2660,6 +2659,16 @@ if (GetFieldDef("logincookies", "cryptpassword")) {
DropField("logincookies", "cryptpassword");
}
+# 2002-02-13 bbaetz@student.usyd.edu.au - bug 97471
+# qacontact/assignee should always be able to see bugs,
+# so remove their restriction column
+if (GetFieldDef("bugs","qacontact_accessible")) {
+ print "Removing restrictions on bugs for assignee and qacontact...\n";
+
+ DropField("bugs", "qacontact_accessible");
+ DropField("bugs", "assignee_accessible");
+}
+
# If you had to change the --TABLE-- definition in any way, then add your
# differential change code *** A B O V E *** this comment.
#