From bb9e8dbd15fd424275b2bd18192ab548d24a12ea Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Mon, 20 Apr 2009 10:29:44 +0000 Subject: [PATCH] Permissions must be concistent with ERP5 way git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26521 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 3df0448c52..db8805be75 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -2406,11 +2406,11 @@ class Base( CopyContainer, return title return self.getId() - security.declareProtected( Permissions.View, 'Title' ) + security.declareProtected(Permissions.AccessContentsInformation, 'Title' ) Title = getTitleOrId # CMF Compatibility - security.declareProtected( Permissions.View, 'title_or_id' ) + security.declareProtected(Permissions.AccessContentsInformation, 'title_or_id' ) title_or_id = getTitleOrId security.declareProtected(Permissions.AccessContentsInformation, -- 2.30.9