Skip to content

Commit

Permalink
Fix EZP-29144: Website Toolbar cache doesn't work properly when Owner…
Browse files Browse the repository at this point in the history
…( Self ) Policy Limitation is used
  • Loading branch information
jacek-foremski committed Jun 12, 2018
1 parent debca54 commit 9a2537d
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 9a2537d

Please sign in to comment.