]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 317021 - improve description of bz_canusewhine* parameters. r=gerv.
authorMatt Selsky <selsky@columbia.edu>
Mon, 24 Nov 2014 19:37:14 +0000 (19:37 +0000)
committerGervase Markham <gerv@gerv.net>
Mon, 24 Nov 2014 19:37:14 +0000 (19:37 +0000)
Bugzilla/Install.pm
Bugzilla/Install/DB.pm

index 5a2266e36fb4069ad2a670e67c094834272953ae..8d07eecc367e3e41d05b7739a0a4ec1ca90fa020 100644 (file)
@@ -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'],
index ab02fe41db355cef59ce22cfa6082ab074e6d710..540845fb21ec1d5b32cbff1db514b042ed6f28bd 100644 (file)
@@ -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 #
     ################################################################