[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-558-g588805f

Shawn Moore sartak at bestpractical.com
Tue Aug 24 22:00:54 EDT 2010


The branch, 3.9-trunk has been updated
       via  588805f90c6df3d30d772ebd857f89cc1b304d34 (commit)
      from  22703a517b17e3b12929dfe78eb6d592cad1e73c (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 588805f90c6df3d30d772ebd857f89cc1b304d34
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Aug 24 21:44:55 2010 -0400

    Revert "If you can't see CFs then updating them is not going to work"
    
    This reverts commit 8aa0a336fba54b1f78f69d295f523745e853370c.
    
    Not quite the right fix :/

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index ddeb387..2f5d045 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1632,10 +1632,6 @@ 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