aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2014-11-24 16:55:30 +0000
committerGervase Markham <gerv@gerv.net>2014-11-24 16:55:30 +0000
commit5d8aa524eff6409055d4d967d2857ede40be4cad (patch)
tree2c7276b98ba5eeeed5aacdd0be6ecf767d38e17e
parent45439b7cd6cdb0507de3d098db3d2b885343f75c (diff)
downloadbugs-5d8aa524eff6409055d4d967d2857ede40be4cad.tar
bugs-5d8aa524eff6409055d4d967d2857ede40be4cad.tar.gz
bugs-5d8aa524eff6409055d4d967d2857ede40be4cad.tar.bz2
bugs-5d8aa524eff6409055d4d967d2857ede40be4cad.tar.xz
bugs-5d8aa524eff6409055d4d967d2857ede40be4cad.zip
Bug 317021 - improve description of bz_canusewhine* parameters. r=gerv.
-rw-r--r--Bugzilla/Install.pm6
-rw-r--r--Bugzilla/Install/DB.pm11
2 files changed, 15 insertions, 2 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index 07bc9d6c3..9b7becdcb 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -133,11 +133,13 @@ use constant SYSTEM_GROUPS => (
},
{
name => 'bz_canusewhineatothers',
- description => 'Can configure whine reports for other users',
+ description => 'Can configure queries and schedules for periodic'
+ . ' reports to be run and sent via email to other users and groups',
},
{
name => 'bz_canusewhines',
- description => 'User can configure whine reports for self',
+ description => 'Can configure queries and schedules for periodic'
+ . ' reports to be run and sent via email to themselves',
# inherited_by means that users in the groups listed below are
# automatically members of bz_canusewhines.
inherited_by => ['editbugs', 'bz_canusewhineatothers'],
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 96f14ec0f..50daa3d46 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -729,6 +729,17 @@ sub update_table_definitions {
# 2014-11-10 dkl@mozilla.com - Bug 1093928
$dbh->bz_drop_column('longdescs', 'is_markdown');
+ $dbh->do('UPDATE groups SET description = ? WHERE name = ? and description = ?',
+ undef,
+ "Can configure queries and schedules for periodic reports to be run and sent via email to other users and groups",
+ "bz_canusewhineatothers",
+ "Can configure whine reports for other users");
+ $dbh->do('UPDATE groups SET description = ? WHERE name = ? and description = ?',
+ undef,
+ "Can configure queries and schedules for periodic reports to be run and sent via email to themselves",
+ "bz_canusewhines",
+ "User can configure whine reports for self");
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################