summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-06-06 12:16:47 +0200
committerjustdave%syndicomm.com <>2001-06-06 12:16:47 +0200
commit45b240a6124c67436cea18f90e4a3330ba819441 (patch)
tree58dca82545d919f126c15ca7c426a87da61a9cf1 /checksetup.pl
parent24bf6d11edd72edd34b5effa68aad9ca0984e913 (diff)
downloadbugzilla-45b240a6124c67436cea18f90e4a3330ba819441.tar.gz
bugzilla-45b240a6124c67436cea18f90e4a3330ba819441.tar.xz
Fix for bug 75482: adding the capability to deactivate a group without deleting it (prevent new bugs from being placed into that group, but don't remove the group restriction from bugs already in it).
Patch by Myk Melez <myk@mozilla.org> r= justdave@syndicomm.com
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 310250e71..0da9af763 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -790,6 +790,13 @@ $table{dependencies} =
# User regexp is which email addresses are initially put into this group.
# This is only used when an email account is created; otherwise, profiles
# may be individually tweaked to add them in and out of groups.
+#
+# 2001-04-10 myk@mozilla.org:
+# isactive determines whether or not a group is active. An inactive group
+# cannot have bugs added to it. Deactivation is a much milder form of
+# deleting a group that allows users to continue to work on bugs in the group
+# without enabling them to extend the life of the group by adding bugs to it.
+# http://bugzilla.mozilla.org/show_bug.cgi?id=75482
$table{groups} =
'bit bigint not null,
@@ -797,6 +804,7 @@ $table{groups} =
description text not null,
isbuggroup tinyint not null,
userregexp tinytext not null,
+ isactive tinyint not null default 1,
unique(bit),
unique(name)';
@@ -2157,6 +2165,16 @@ unless (-d 'data/duplicates') {
}
}
+#
+# 2001-04-10 myk@mozilla.org:
+# isactive determines whether or not a group is active. An inactive group
+# cannot have bugs added to it. Deactivation is a much milder form of
+# deleting a group that allows users to continue to work on bugs in the group
+# without enabling them to extend the life of the group by adding bugs to it.
+# http://bugzilla.mozilla.org/show_bug.cgi?id=75482
+#
+AddField('groups', 'isactive', 'tinyint not null default 1');
+
# 2001-04-29 jake@acutex.net - Remove oldemailtech
# http://bugzilla.mozilla.org/show_bugs.cgi?id=71552
if (-d 'shadow') {