Bug 317021 - improve description of bz_canusewhine* parameters. r=gerv.

git-svn-id: svn://10.0.0.236/trunk@265688 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2014-11-24 19:48:08 +00:00
parent 1c53070680
commit cbe7f7e19a
4 changed files with 17 additions and 4 deletions

View File

@ -1 +1 @@
9221 9222

View File

@ -1 +1 @@
34f2b77f153f9f5ab4a4ef6723dcc31fff50a4d9 88e4ee5b99ef75a149f8d39bd2b92ccac3e5743b

View File

@ -135,11 +135,13 @@ use constant SYSTEM_GROUPS => (
}, },
{ {
name => 'bz_canusewhineatothers', 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', 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 # inherited_by means that users in the groups listed below are
# automatically members of bz_canusewhines. # automatically members of bz_canusewhines.
inherited_by => ['editbugs', 'bz_canusewhineatothers'], inherited_by => ['editbugs', 'bz_canusewhineatothers'],

View File

@ -730,6 +730,17 @@ sub update_table_definitions {
$dbh->bz_add_column('longdescs', 'is_markdown', $dbh->bz_add_column('longdescs', 'is_markdown',
{TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}); {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 # # New --TABLE-- changes should go *** A B O V E *** this point #
################################################################ ################################################################