From f123a62cb6b2498169369efddedecf5bf6c56236 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 15 Feb 2007 12:26:36 +0000
Subject: [PATCH] secuity declaration was missing for getSearchableText

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

diff --git a/product/ERP5/Document/Coordinate.py b/product/ERP5/Document/Coordinate.py
index 75061fd2b9..9d04a58d9c 100644
--- a/product/ERP5/Document/Coordinate.py
+++ b/product/ERP5/Document/Coordinate.py
@@ -120,12 +120,15 @@ class Coordinate(Base):
         return self()
 
     security.declareProtected( Permissions.AccessContentsInformation,
-                               'SearchableText' )
+                               'getSearchableText' )
     def getSearchableText(self):
         """
             text for indexing
         """
         return "%s %s %s" % (self.title, self.description, self.asText())
+
+    security.declareProtected( Permissions.AccessContentsInformation,
+                               'SearchableText' )
     SearchableText = getSearchableText
 
     security.declareProtected( Permissions.AccessContentsInformation,
-- 
2.30.9