Commit da8737e8 authored by Nicolas Delaby's avatar Nicolas Delaby

Declare security of inherited methods

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23448 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4b410f43
......@@ -332,8 +332,10 @@ class EmailDocument(File, TextDocument):
"""
pass
security.declareProtected(Permissions.View, 'index_html')
index_html = TextDocument.index_html
security.declareProtected(Permissions.View, '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