Skip to content

Commit

Permalink
Merge pull request #17 from natanael89/EZP-29144_website_toolbar_cach…
Browse files Browse the repository at this point in the history
…e_fix

Fix EZP-29144: Website Toolbar cache doesn't work properly when Owner ( Self ) Policy Limitation is used
  • Loading branch information
andrerom committed Aug 2, 2018
2 parents debca54 + 9a2537d commit 085d403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ezwt_extension/ezextension/ezwt/README
Expand Up @@ -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}

Expand Down

0 comments on commit 085d403

Please sign in to comment.