Added permission on TextIndexNG index ZTK-1.1
authorThierry Florac <tflorac@ulthar.net>
Tue, 24 Jan 2012 11:17:53 +0100
branchZTK-1.1
changeset 104 9355f0a396de
parent 103 088a873802df
child 105 a04b2e6e5830
child 110 72e6ba139843
Added permission on TextIndexNG index
ztfy/utils/catalog/configure.zcml
--- a/ztfy/utils/catalog/configure.zcml	Mon Dec 12 15:32:50 2011 +0100
+++ b/ztfy/utils/catalog/configure.zcml	Tue Jan 24 11:17:53 2012 +0100
@@ -8,6 +8,9 @@
 					   zope.index.interfaces.IStatistics"
 			set_schema="zope.catalog.interfaces.IAttributeIndex"
 			permission="zope.ManageServices" />
+		<require
+			interface="zope.index.interfaces.IIndexSearch"
+			permission="zope.View" />
 	</class>
 
 </configure>
\ No newline at end of file