[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/registration/configure.zcml
Merged changes from trunk revision 26510
Dmitry Vasiliev
dima at hlabs.spb.ru
Tue Aug 3 06:38:42 EDT 2004
Log message for revision 26872:
Merged changes from trunk revision 26510
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/registration/configure.zcml
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/registration/configure.zcml
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/registration/configure.zcml 2004-08-03 10:36:14 UTC (rev 26871)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/registration/configure.zcml 2004-08-03 10:38:42 UTC (rev 26872)
@@ -3,25 +3,33 @@
>
<!-- Registration registries -->
-
+
<content class=".registration.RegistrationStack">
<require
permission="zope.ManageServices"
interface=".interfaces.IRegistrationStack"
/>
</content>
-
+
<adapter
- for=".interfaces.IRegisterable"
- provides=".interfaces.IRegistered"
- factory=".registration.Registered"
- />
-
+ for=".interfaces.IRegisterable"
+ provides=".interfaces.IRegistered"
+ factory=".registration.Registered"
+ trusted="true"
+ />
+
+ <class class=".registration.Registered">
+ <require
+ permission="zope.ManageContent"
+ attributes="addUsage removeUsage" />
+ <allow attributes="usages registrations" />
+ </class>
+
<adapter
- for=".interfaces.IRegisterable"
- provides="zope.app.copypastemove.interfaces.IObjectCopier"
- factory=".registration.RegisterableCopier"
- permission="zope.ManageContent"
+ for=".interfaces.IRegisterable"
+ provides="zope.app.copypastemove.interfaces.IObjectCopier"
+ factory=".registration.RegisterableCopier"
+ permission="zope.ManageContent"
/>
<!-- Registration Manager -->
@@ -47,27 +55,27 @@
</content>
<subscriber
- factory=".registration.SimpleRegistrationRemoveSubscriber"
- for=".interfaces.IRegistration
- zope.app.container.interfaces.IObjectRemovedEvent"
- />
+ factory=".registration.SimpleRegistrationRemoveSubscriber"
+ for=".interfaces.IRegistration
+ zope.app.container.interfaces.IObjectRemovedEvent"
+ />
<subscriber
- factory=".registration.ComponentRegistrationRemoveSubscriber"
- for=".interfaces.IComponentRegistration
- zope.app.container.interfaces.IObjectRemovedEvent"
- />
+ factory=".registration.ComponentRegistrationRemoveSubscriber"
+ for=".interfaces.IComponentRegistration
+ zope.app.container.interfaces.IObjectRemovedEvent"
+ />
<subscriber
- factory=".registration.ComponentRegistrationAddSubscriber"
- for=".interfaces.IComponentRegistration
- zope.app.container.interfaces.IObjectAddedEvent"
- />
+ factory=".registration.ComponentRegistrationAddSubscriber"
+ for=".interfaces.IComponentRegistration
+ zope.app.container.interfaces.IObjectAddedEvent"
+ />
<subscriber
- factory=".registration.RegisterableMoveSubscriber"
- for=".interfaces.IRegisterable
- zope.app.container.interfaces.IObjectMovedEvent"
- />
+ factory=".registration.RegisterableMoveSubscriber"
+ for=".interfaces.IRegisterable
+ zope.app.container.interfaces.IObjectMovedEvent"
+ />
</configure>
More information about the Zope3-Checkins
mailing list