Commit 72af3bd9 authored by Sebastien Robin's avatar Sebastien Robin

fixed security declaration

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24477 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 907e1993
...@@ -70,7 +70,7 @@ class PortalTypeActionDocumentationHelper(DocumentationHelper): ...@@ -70,7 +70,7 @@ class PortalTypeActionDocumentationHelper(DocumentationHelper):
""" """
return getattr(self.getDocumentedObject(), "title", '') return getattr(self.getDocumentedObject(), "title", '')
security.declareProtected(Permissions.AccessContentsInformation, 'getTitle' ) security.declareProtected(Permissions.AccessContentsInformation, 'getDescription' )
def getDescription(self): def getDescription(self):
""" """
Returns the title of the documentation helper Returns the title of the documentation helper
......
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