Commit ebae58a8 authored by Jérome Perrin's avatar Jérome Perrin

protect convert with AccessContentsInformation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32368 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce55639f
......@@ -504,7 +504,7 @@ class EmailDocument(File, TextDocument):
security.declareProtected(Permissions.View, 'index_html')
index_html = TextDocument.index_html
security.declareProtected(Permissions.View, 'convert')
security.declareProtected(Permissions.AccessContentsInformation, 'convert')
convert = TextDocument.convert
security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
......
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