Commit 5d8aa524 authored by Matt Selsky's avatar Matt Selsky Committed by Gervase Markham

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

parent 45439b7c
...@@ -133,11 +133,13 @@ use constant SYSTEM_GROUPS => ( ...@@ -133,11 +133,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'],
......
...@@ -729,6 +729,17 @@ sub update_table_definitions { ...@@ -729,6 +729,17 @@ sub update_table_definitions {
# 2014-11-10 dkl@mozilla.com - Bug 1093928 # 2014-11-10 dkl@mozilla.com - Bug 1093928
$dbh->bz_drop_column('longdescs', 'is_markdown'); $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 # # New --TABLE-- changes should go *** A B O V E *** this point #
################################################################ ################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment