[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-553-g8aa0a33
Shawn Moore
sartak at bestpractical.com
Tue Aug 24 21:22:35 EDT 2010
The branch, 3.9-trunk has been updated
via 8aa0a336fba54b1f78f69d295f523745e853370c (commit)
from b98423ccade1167d14fba6efa59a32c0bb8bdb12 (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 8aa0a336fba54b1f78f69d295f523745e853370c
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Aug 24 21:20:45 2010 -0400
If you can't see CFs then updating them is not going to work
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 2f5d045..ddeb387 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1632,6 +1632,10 @@ sub ProcessObjectCustomFieldUpdates {
$RT::Logger->warning("Couldn't load custom field #$cf");
next;
}
+ unless ( $CustomFieldObj->CurrentUserCan('SeeCustomField') ) {
+ $RT::Logger->debug("Permission Denied");
+ next;
+ }
push @results,
_ProcessObjectCustomFieldUpdates(
Prefix => "Object-$class-$id-CustomField-$cf-",
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list