Forums / Developer / attribute "can_edit" is not updated untill i clear cache

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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}