Commit fbea1c0a authored by Julien Muchembled's avatar Julien Muchembled

Set security on new Base.getMountedObject method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44784 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a074ffa6
......@@ -1529,6 +1529,7 @@ class Base( CopyContainer,
"""
return self
security.declareProtected(Permissions.ManagePortal, 'getMountedObject')
def getMountedObject(self):
"""
If self is a mount-point, return the mounted object in its own storage
......
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