diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-08-19 12:36:52 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-08-19 12:36:52 +0200 |
commit | 234328faa2addfab44132c2cb4e6f9559c891911 (patch) | |
tree | ca3d5ecdd7c4dbe45f796c31b3bf4c4fd7134f18 | |
parent | Bug 1046145: It is no longer possible to cancel an email address change when ... (diff) | |
download | bugzilla-234328faa2addfab44132c2cb4e6f9559c891911.tar.gz bugzilla-234328faa2addfab44132c2cb4e6f9559c891911.tar.bz2 bugzilla-234328faa2addfab44132c2cb4e6f9559c891911.zip |
Bug 1053802: Groups used for the comment_taggers_group and debug_group parameters can be deleted
r=sgreen a=glob
-rw-r--r-- | Bugzilla/Group.pm | 2 | ||||
-rwxr-xr-x | editgroups.cgi | 3 | ||||
-rw-r--r-- | template/en/default/admin/groups/list.html.tmpl | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index 04c36f694..5404dec7e 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -53,7 +53,7 @@ use constant UPDATE_COLUMNS => qw( # Parameters that are lists of groups. use constant GROUP_PARAMS => qw(chartgroup insidergroup timetrackinggroup - querysharegroup); + querysharegroup debug_group); ############################### #### Accessors ###### diff --git a/editgroups.cgi b/editgroups.cgi index d603ab183..51f908772 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -19,9 +19,6 @@ use Bugzilla::Product; use Bugzilla::User; use Bugzilla::Token; -use constant SPECIAL_GROUPS => ('chartgroup', 'insidergroup', - 'timetrackinggroup', 'querysharegroup'); - my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; my $template = Bugzilla->template; diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl index af7da33a6..859f26205 100644 --- a/template/en/default/admin/groups/list.html.tmpl +++ b/template/en/default/admin/groups/list.html.tmpl @@ -74,7 +74,8 @@ } %] -[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", "querysharegroup"] %] +[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", + "querysharegroup", "debug_group"] %] [% special_group = Param(group) %] [% IF special_group %] |