summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2014-11-24 20:37:14 +0100
committerGervase Markham <gerv@gerv.net>2014-11-24 20:37:14 +0100
commit88e4ee5b99ef75a149f8d39bd2b92ccac3e5743b (patch)
tree969186fcf3fd07e0e6cfd20658a8bdece2ea4e43 /Bugzilla
parent34f2b77f153f9f5ab4a4ef6723dcc31fff50a4d9 (diff)
downloadbugzilla-88e4ee5b99ef75a149f8d39bd2b92ccac3e5743b.tar.gz
bugzilla-88e4ee5b99ef75a149f8d39bd2b92ccac3e5743b.tar.xz
Bug 317021 - improve description of bz_canusewhine* parameters. r=gerv.
Diffstat (limited to 'Bugzilla')
-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 5a2266e36..8d07eecc3 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -135,11 +135,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 ab02fe41d..540845fb2 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -730,6 +730,17 @@ sub update_table_definitions {
$dbh->bz_add_column('longdescs', 'is_markdown',
{TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'});
+ $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 #
################################################################