From 9a2537d2fda3eea36588e4ebdbc7209fa869d1e5 Mon Sep 17 00:00:00 2001 From: Jacek Foremski Date: Tue, 12 Jun 2018 16:25:51 +0200 Subject: [PATCH] Fix EZP-29144: Website Toolbar cache doesn't work properly when Owner( Self ) Policy Limitation is used --- packages/ezwt_extension/ezextension/ezwt/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ezwt_extension/ezextension/ezwt/README b/packages/ezwt_extension/ezextension/ezwt/README index 9b0efce..7898deb 100644 --- a/packages/ezwt_extension/ezextension/ezwt/README +++ b/packages/ezwt_extension/ezextension/ezwt/README @@ -11,7 +11,7 @@ Next, insert the following lines into your pagelayout.tpl file: {def $user_hash = concat( $current_user.role_id_list|implode( '_' ), '_', $current_user.limited_assignment_value_list|implode( '_' ) )} -{cache-block keys=array( $uri_string, $user_hash )} +{cache-block keys=array( $uri_string, $user_hash, $current_user.contentobject_id|eq( $pagedata.owner_id ) )} {include uri='design:parts/website_toolbar.tpl' current_node_id=$module_result.node_id}