[Rt-commit] rt branch, 4.6/core-rightinspector, repushed

Michel Rodriguez michel at bestpractical.com
Wed Sep 18 17:55:41 EDT 2019


The branch 4.6/core-rightinspector was deleted and repushed:
       was d71f9f29c8fdef03683b2fb970c95a9b920e4176
       now ea01449905fc12127c90304d30cd991ef34ca286

1: 3c4046ec5 ! 1: 57bcd028a Core RT::Extension::RightsInspector.
    @@ -1,13 +1,12 @@
     Author: michel <michel at bestpractical.com>
     
    -    Core RT::Extension::RightsInspector
    +    Core RT::Extension::RightsInspector.
         
         The behavior is the same as the extension.
         
         Differences are:
         In the JS, the handlebar templating system has been removed.
         The bootstrap spinner is being used.
    -    Revoke is disabled for an extra right.
     
     diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
     --- a/etc/RT_Config.pm.in
    @@ -693,7 +692,7 @@
     +
     +    if ($Principal->Object->Domain eq 'ACLEquivalence') {
     +        my $User = $Principal->Object->InstanceObj;
    -+        if ($Object->isa('RT::System') && $Right eq 'SuperUser') {
    ++        if ($User->Id == RT->SystemUser->Id && $Object->isa('RT::System') && $Right eq 'SuperUser') {
     +            return 1;
     +        }
     +        if ($User->Id == RT->Nobody->Id && $Object->isa('RT::System') && $Right eq 'OwnTicket') {
    @@ -1415,7 +1414,7 @@
     +                        form.removeClass('awaiting-first-result');
     +                        display.text('No results');
     +                    }
    -+                jQuery( '.spinner').hide();
    ++                jQuery('.spinner').hide();
     +                }
     +            },
     +            error: function (xhr, reason) {
2: d71f9f29c ! 2: f85d8819b Improve look for the dark theme.
    @@ -1,6 +1,6 @@
     Author: michel <michel at bestpractical.com>
     
    -    Improve look for the dark theme
    +    Improve look for the dark theme.
     
     diff --git a/share/static/css/elevator-dark/main.css b/share/static/css/elevator-dark/main.css
     --- a/share/static/css/elevator-dark/main.css
    @@ -17,3 +17,4 @@
     +.darkmode #rights-inspector .results .result .match {
     +    background-color: #114 !important;
     +}
    +
-:  ------- > 3: ea0144990 Remove revoke buttons instead of just disabling them.



More information about the rt-commit mailing list