Commit 7dbc92c9 authored by Julien Muchembled's avatar Julien Muchembled

Make Base.getPortalObject public

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35872 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d492e86
...@@ -1930,7 +1930,7 @@ class Base( CopyContainer, ...@@ -1930,7 +1930,7 @@ class Base( CopyContainer,
""" """
return self.absolute_url() return self.absolute_url()
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalObject') security.declarePublic('getPortalObject')
def getPortalObject(self): def getPortalObject(self):
""" """
Returns the portal object Returns the portal object
......
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