From: Matt Selsky Date: Mon, 24 Nov 2014 17:02:23 +0000 (+0000) Subject: Are you sure you want to check in on branch master X-Git-Tag: release-5.1.1~448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82674d427a9b6f210347279dbb74da631f3d57cb;p=thirdparty%2Fbugzilla.git Are you sure you want to check in on branch master --- diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm index 5a2266e36f..8d07eecc36 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 ab02fe41db..540845fb21 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 # ################################################################