Commit 0856999f authored by Jérome Perrin's avatar Jérome Perrin

add security declaration as well


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9344 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b3611fc7
...@@ -3747,6 +3747,8 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -3747,6 +3747,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
self.workflow_history[ self.workflow_history[
'business_template_installation_workflow'] = None 'business_template_installation_workflow'] = None
security.declareProtected(Permissions.AccessContentsInformation,
'getRevision')
def getRevision(self): def getRevision(self):
"""returns the revision property. """returns the revision property.
This is a workaround for #461. This is a workaround for #461.
......
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