, contentview plone-toolbar-main, .pt:
<section id="edit-bar" role="toolbar"
tal:define="portal_state view/portal_state;
personal_bar python: view.get_personal_bar();
checkPermission nocall:
context/portal_membership/checkPermission"
tal:condition="not: portal_state/anonymous"
i18n:domain="plone">
....
<ul class="plone-toolbar-main">
<div
tal:condition="python:checkPermission('Modify portal
content',context)"
tal:replace="structure view/base_render">