Index: openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl,v diff -u -r1.42 -r1.43 --- openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl 25 Jun 2018 14:59:07 -0000 1.42 +++ openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl 26 Jun 2018 12:46:47 -0000 1.43 @@ -356,6 +356,11 @@ @see permission::permission_p } { + # cache is not enabled, exit immediately + if {[catch {ns_cache_flush permission_cache NOTHING}]} { + return + } + if {[info exists party_id] && [info exists object_id] && [info exists privilege]} { # # All three attributes are provided