[Rt-commit] rt branch, 4.6/core-rightinspector, repushed
Michel Rodriguez
michel at bestpractical.com
Thu Oct 10 08:41:44 EDT 2019
The branch 4.6/core-rightinspector was deleted and repushed:
was f087a7ba74345e67368705a7d41366ecc536dd15
now 2b3d81b9ef03721d03b017fc3601040fa1f3381b
1: 526806555 = 1: 526806555 Core RT::Extension::RightsInspector.
2: 39b283137 = 2: 39b283137 Improve look for the dark theme.
3: f087a7ba7 ! 3: 2b3d81b9e Remove revoke buttons instead of just disabling them.
@@ -1,6 +1,18 @@
Author: michel <michel at bestpractical.com>
Remove revoke buttons instead of just disabling them.
+
+diff --git a/lib/RT/RightsInspector.pm b/lib/RT/RightsInspector.pm
+--- a/lib/RT/RightsInspector.pm
++++ b/lib/RT/RightsInspector.pm
+@@
+
+ if ($Principal->Object->Domain eq 'ACLEquivalence') {
+ my $User = $Principal->Object->InstanceObj;
++ # identify super user priviledges required for the system to work
+ if ($User->Id == RT->SystemUser->Id && $Object->isa('RT::System') && $Right eq 'SuperUser') {
+ return 1;
+ }
diff --git a/share/static/css/elevator-light/forms.css b/share/static/css/elevator-light/forms.css
--- a/share/static/css/elevator-light/forms.css
More information about the rt-commit
mailing list