paula: reorganized into one paula repo
[paula.git] / paula.ploneexamples / trunk / src / paula / ploneexamples / content.zcml
blob6c4ab993228ad4d55225c53b9b50b249d89831a4
1 <configure
2     xmlns="http://namespaces.zope.org/zope"
3     xmlns:five="http://namespaces.zope.org/five"
4     >
6   <include package="zope.component" file="meta.zcml" />
8   <five:registerClass
9       class=".content.MinimalPloneUser"
10       meta_type="Paula Minimal Plone User"
11       permission="paula.ploneexamples.AddMinimalPloneUser"
12       addview="paula.ploneexamples.MinimalPloneUser"
13       icon="paula_ploneexamples_minimal_plone_user_icon.png"
14       />
16   <utility
17       component=".content.minimalPloneUserFactory"
18       name="paula.ploneexamples.MinimalPloneUser"
19       />
21   <!-- Enable content rules -->
22   <class class=".content.MinimalPloneUser">
23       <implements interface="plone.contentrules.engine.interfaces.IRuleAssignable" />
24   </class>
26   
27   <five:registerClass
28       class=".content.BasicGroup"
29       meta_type="Paula Basic Group"
30       permission="paula.ploneexamples.AddBasicGroup"
31       addview="paula.ploneexamples.BasicGroup"
32       icon="paula_ploneexamples_basic_group_icon.png"
33       />
35   <utility
36       component=".content.basicGroupFactory"
37       name="paula.ploneexamples.BasicGroup"
38       />
40   <!-- Enable content rules -->
41   <class class=".content.BasicGroup">
42       <implements interface="plone.contentrules.engine.interfaces.IRuleAssignable" />
43   </class>
45   
46   <!--
47   <class class=".content.MinimalPloneUser">
48     <require
49         permission="zope.View"
50         interface=".interfaces.IMinimalPloneUser"
51         />
52     <require
53         permission="zope.ManageContent"
54         set_schema=".interfaces.IMinimalPloneUser"
55         />
56   </class>
57   -->
59 </configure>