From 0856999fb4a07a5bad6063763cab50729da38cd4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 23 Aug 2006 09:26:54 +0000
Subject: [PATCH] add security declaration as well

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9344 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BusinessTemplate.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 7db0121662..524a34f729 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -3747,6 +3747,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
           self.workflow_history[
                             'business_template_installation_workflow'] = None
 
+    security.declareProtected(Permissions.AccessContentsInformation,
+                              'getRevision')
     def getRevision(self):
       """returns the revision property.
       This is a workaround for #461.
-- 
2.30.9