[Rt-commit] rt 01/04: Add debug log messages to dashboard upgrade steps

Jim Brandt jbrandt at bestpractical.com
Thu Jul 8 16:51:40 EDT 2021


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 5.0/use-dashboard-for-homepage-select-ui
in repository rt.

commit b84b8f488aed61b81f443b2ba8c593cecaa1530d
Author: Jim Brandt <jbrandt at bestpractical.com>
AuthorDate: Thu Jul 8 11:10:15 2021 -0400

    Add debug log messages to dashboard upgrade steps
---
 etc/upgrade/5.0.2/content | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/upgrade/5.0.2/content b/etc/upgrade/5.0.2/content
index 0fba4ab9fd..761afb9279 100644
--- a/etc/upgrade/5.0.2/content
+++ b/etc/upgrade/5.0.2/content
@@ -3,6 +3,7 @@ use warnings;
 
 our @Final = (
     sub {
+        RT->Logger->debug("Converting homepages to dashboards");
         my $attrs = RT::Attributes->new( RT->SystemUser );
         $attrs->Limit( FIELD => 'Name', VALUE => [ 'Pref-HomepageSettings', 'HomepageSettings' ], OPERATOR => 'IN' );
     OUTER: while ( my $attr = $attrs->Next ) {
@@ -131,6 +132,7 @@ our @Final = (
 
         # Grant dashboard rights so users with ModifySelf can still
         # customize MyRT
+        RT->Logger->debug("Granting dashboard rights to users with ModifySelf");
         $acl->Limit( FIELD => 'RightName', VALUE => 'ModifySelf' );
         while ( my $ace = $acl->Next ) {
             my $object = $ace->Object;

-- 
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.


More information about the rt-commit mailing list