Commit 4dcb8f16 authored by Sebastien Robin's avatar Sebastien Robin

fixed security settings on convertToBaseFormat

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13540 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fa58b554
...@@ -953,7 +953,7 @@ class Document(XMLObject, UrlMixIn): ...@@ -953,7 +953,7 @@ class Document(XMLObject, UrlMixIn):
return self.convert(format='html') return self.convert(format='html')
# Base format support # Base format support
security.declareProtected(Permissions.View, 'convertToBase') security.declareProtected(Permissions.View, 'convertToBaseFormat')
def convertToBaseFormat(self, REQUEST=None): def convertToBaseFormat(self, REQUEST=None):
""" """
Converts the content of the document to a base format Converts the content of the document to a base format
...@@ -1071,4 +1071,4 @@ class Document(XMLObject, UrlMixIn): ...@@ -1071,4 +1071,4 @@ class Document(XMLObject, UrlMixIn):
NOTE: to be implemented here. NOTE: to be implemented here.
""" """
pass pass
\ No newline at end of file
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