Commit 7b78a9ca authored by Vincent Pelletier's avatar Vincent Pelletier

Hide cut, copy and paste buttons when user does not have required permission.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24711 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f17c4949
......@@ -151,9 +151,10 @@
sort_actions actions/object_sort | nothing;\n
ui_actions actions/object_ui | nothing;\n
print_actions actions/object_print | nothing;\n
list_mode list_mode | nothing">\n
list_mode list_mode | nothing;\n
can_modify_portal_content python: portal.portal_membership.checkPermission(\'Modify portal content\', here)">\n
<span class="separator"><!--separator--></span>\n
<tal:block tal:condition="list_mode">\n
<tal:block tal:condition="python: list_mode and can_modify_portal_content">\n
<button class="cut" type="submit" name="Folder_cut:method" title="Cut"\n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment