From 61acf0f5a7fd38416c72c224ab0d88c1ee22762e Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Thu, 27 Oct 2005 07:15:00 +0000 Subject: [PATCH] Declare permissions of objects. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4140 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFCategory/Category.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/CMFCategory/Category.py b/product/CMFCategory/Category.py index d2834ac6ba..f36105e509 100755 --- a/product/CMFCategory/Category.py +++ b/product/CMFCategory/Category.py @@ -121,6 +121,7 @@ class Category(Folder): # Declarative security security = ClassSecurityInfo() + security.declareObjectProtected(Permissions.View) security.declareProtected(Permissions.ManagePortal, 'manage_editProperties', 'manage_changeProperties', @@ -472,6 +473,7 @@ class BaseCategory(Category): # Declarative security security = ClassSecurityInfo() + security.declareObjectProtected(Permissions.View) def asSqlExpression(self, strict_membership=0, table='category'): """ -- 2.30.9