[Rt-commit] rt branch, 4.2/disabled-message-on-user-summary, repushed

Jim Brandt jbrandt at bestpractical.com
Mon Feb 3 16:33:55 EST 2014


The branch 4.2/disabled-message-on-user-summary was deleted and repushed:
       was 95dd9a3cfc60bd61f1362a3a5432c6ab4a4188bf
       now f24937e54b2257c24a0a7f7bd21700ba73b20b07

1:  95dd9a3 ! 1:  f24937e Display a message on user summary for disabled users
    @@ -19,7 +19,13 @@
      
     +my @results;
     +if ( $User->Disabled ){
    -+    push @results, loc('User [_1] is currently disabled. Edit the user and select "Let this user access RT" to enable.', $User->Name);
    ++    if ( $session{'CurrentUser'}->HasRight(
    ++        Object => RT->System, Right => 'AdminUsers' ) ){
    ++        push @results, loc('User [_1] is currently disabled. Edit the user and select "Let this user access RT" to enable.', $User->Name);
    ++    }
    ++    else{
    ++        push @results, loc('User [_1] is currently disabled.', $User->Name);
    ++    }
     +}
     +
      my $portlets = RT->Config->Get('UserSummaryPortlets');



More information about the rt-commit mailing list