[Rt-commit] [svn] r1983 - in rt/branches/3.3-TESTING: . lib/RT

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Fri Dec 10 13:55:23 EST 2004


Author: jesse
Date: Fri Dec 10 13:55:22 2004
New Revision: 1983

Modified:
   rt/branches/3.3-TESTING/   (props changed)
   rt/branches/3.3-TESTING/UPGRADING
   rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
Log:
 r2000 at hualien:  jesse | 2004-12-10T18:55:08.662227Z
 RT-Ticket: 6304
 RT-Status: resolved
 RT-Update: correspond
 
 ModifyObjectCustomFieldValues was too long. It's been changed to "ModifyCustomField"
 


Modified: rt/branches/3.3-TESTING/UPGRADING
==============================================================================
--- rt/branches/3.3-TESTING/UPGRADING	(original)
+++ rt/branches/3.3-TESTING/UPGRADING	Fri Dec 10 13:55:22 2004
@@ -16,12 +16,17 @@
 
 *******
 
+UPGRADING FROM 3.3.14 and earlier - Changes:
+
+The "ModifyObjectCustomFieldValues" right name was too long. It's been changed to
+"ModifyCustomField"
+
 
 UPGRADING FROM 3.3.11 and earlier - Changes:
 
 = Rights Changes =
 
-Custom Fields now have an additional right "ModifyObjectCustomFieldValues". 
+Custom Fields now have an additional right "ModifyCustomField". 
 This right governs whether a user can modify an object's custom field values
 for a particular custom field. This includes adding, deleting and changing values.
 

Modified: rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm	(original)
+++ rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm	Fri Dec 10 13:55:22 2004
@@ -77,7 +77,7 @@
 $RIGHTS = {
     SeeCustomField            => 'See custom fields',       # loc_pair
     AdminCustomField          => 'Create, delete and modify custom fields',        # loc_pair
-    ModifyObjectCustomFieldValues => 'Add, delete and modify custom field values for objects' #loc_pair
+    ModifyCustomField         => 'Add, delete and modify custom field values for objects' #loc_pair
 
 };
 
@@ -908,7 +908,7 @@
 	my $obj = $args{'Object'} or return;
 
 
-    unless ($self->CurrentUserHasRight('ModifyObjectCustomFieldValues')) {
+    unless ($self->CurrentUserHasRight('ModifyCustomField')) {
         return (0, $self->loc('Permission Denied'));
     }
 
@@ -947,7 +947,7 @@
 		     @_ );
 
 
-    unless ($self->CurrentUserHasRight('ModifyObjectCustomFieldValues')) {
+    unless ($self->CurrentUserHasRight('ModifyCustomField')) {
         return (0, $self->loc('Permission Denied'));
     }
 


More information about the Rt-commit mailing list