[Rt-commit] rt branch, roles_that_has_right, created. rt-3.8.7-176-g64764a9

Ruslan Zakirov ruz at bestpractical.com
Thu Mar 4 09:19:27 EST 2010


The branch, roles_that_has_right has been created
        at  64764a9aec4d3db397566f2ae91f7babe8c22054 (commit)

- Log -----------------------------------------------------------------
commit 4378794ac10da58548bde7406fb635f9210bd45b
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Mar 1 14:56:42 2010 -0500

    Don't display transactions about disabled CFs

diff --git a/lib/RT/Transaction_Overlay.pm b/lib/RT/Transaction_Overlay.pm
index 96ccf51..48cd864 100755
--- a/lib/RT/Transaction_Overlay.pm
+++ b/lib/RT/Transaction_Overlay.pm
@@ -1028,6 +1028,7 @@ sub CurrentUserCanSee {
         my $cf = RT::CustomField->new( $self->CurrentUser );
         $cf->SetContextObject( $self->Object );
         $cf->Load( $cf_id );
+        return 0 if $cf->Disabled;
         return 0 unless $cf->CurrentUserHasRight('SeeCustomField');
     }
     #if they ain't got rights to see, don't let em

commit 64764a9aec4d3db397566f2ae91f7babe8c22054
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Mar 2 10:49:03 2010 -1000

    * The readme updated to appear to have been written in this decade

diff --git a/README b/README
index 1f78515..899a5a0 100644
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ us at sales at bestpractical.com.
 
      Jesse Vincent
      Best Practical Solutions, LLC
-     March, 2005
+     March, 2010
 
 
 REQUIRED PACKAGES

-----------------------------------------------------------------------


More information about the Rt-commit mailing list