attribute "can_edit" is not updated untill i clear cache

Author Message

Vytautas Germanavičius

Saturday 09 July 2005 2:07:24 pm

I add to toolbar a tool, which shows "edit", "remove" or "createhere" buttons if user has coresponding rights.
But I cannot use it, because if user (with all rights) logs in, this tool is not shown, because attribute "can_edit" is set to "false", but after clearig cashe it, becomes "true".

Does anyone know workaround, how to add tool to every page, withoiut rewriting all templates?

{set-block scope=root variable=cache_ttl}0{/set-block}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.