src/ztfy/utils/catalog/configure.zcml
branchZTK-1.1
changeset 148 d3668ecd9137
parent 104 9355f0a396de
child 228 87a929e63afe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ztfy/utils/catalog/configure.zcml	Wed Jun 20 16:29:53 2012 +0200
@@ -0,0 +1,16 @@
+<configure
+	xmlns="http://namespaces.zope.org/zope"
+	i18n_domain="ztfy.utils">
+
+	<class class=".index.TextIndexNG">
+		<require
+			interface="zope.catalog.interfaces.IAttributeIndex
+					   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