[Rt-commit] r2172 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Wed Feb 2 11:19:03 EST 2005


Author: jesse
Date: Wed Feb  2 11:19:03 2005
New Revision: 2172

Modified:
   rt/branches/PLATANO-EXPERIMENTAL-CSS/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CustomField_Overlay.pm
Log:
 r4009 at hualien:  jesse | 2005-02-02T15:40:30.672747Z
  r3884 at hualien:  jesse | 2005-01-18T14:59:19.630164Z
  RT-Ticket: 6352
  RT-Status: resolved
  RT-Update: correspond
  
  Fix an invalid custom field acl check
  
 


Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CustomField_Overlay.pm	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/lib/RT/CustomField_Overlay.pm	Wed Feb  2 11:19:03 2005
@@ -990,7 +990,7 @@
     my $object = shift;
 
 	my $values = new RT::ObjectCustomFieldValues($self->CurrentUser);
-	unless ($self->CurrentUserHasRight('ShowCustomField')) {
+	unless ($self->CurrentUserHasRight('SeeCustomField')) {
         # Return an empty object if they have no rights to see
         return ($values);
     }


More information about the Rt-commit mailing list