[Rt-commit] r8093 -
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Tue Jul 10 17:59:45 EDT 2007
Author: ruz
Date: Tue Jul 10 17:59:45 2007
New Revision: 8093
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/EditCustomFields
Log:
* skip a CF if user has no right to change it
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/EditCustomFields
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/EditCustomFields (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/EditCustomFields Tue Jul 10 17:59:45 2007
@@ -48,6 +48,7 @@
<table>
% my $i = 0;
% while ( my $CustomField = $CustomFields->Next ) {
+% next unless $CustomField->CurrentUserHasRight('ModifyCustomField');
% $i++;
% if ( $i % 2 ) {
<tr>
More information about the Rt-commit
mailing list