From fbea1c0a10a82a2790e39d428b79bab3518c15f1 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Wed, 30 Mar 2011 09:45:56 +0000 Subject: [PATCH] Set security on new Base.getMountedObject method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44784 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 1b88f12e59..07c805142a 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -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 -- 2.30.9