[Zope-Checkins] CVS: Zope3 - zope.zcml:1.1.2.28
Michael McLay
mclay@nist.gov
Sat, 9 Feb 2002 17:56:34 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv17111
Modified Files:
Tag: Zope-3x-branch
zope.zcml
Log Message:
Added preliminary test for ServiceManagerBindings
Fixed minor bugs for ServicesManagerBindingsView and ServiceManager
Note: Known bug (test commented out) in ServiceManagerBindingsView -
It returns 'Acquired' when it should return 'None' in the bound variable of
the service map.
=== Zope3/zope.zcml 1.1.2.27 => 1.1.2.28 ===
</zmi:tabs>
+<!-- ServicesManager view -->
+
+<security:permission permission_id="Zope.ManageBindings"
+ title="Manage Bindings" />
+
+<security:protectClass name="Zope.App.Service.ServiceManagerBindingView."
+ permission_id="Zope.ManageBindings"
+ methods="index, action, getBindingsTable" />
+
+<security:protectClass name="Zope.App.Service.ServiceManager."
+ permission_id="Zope.View" />
+
+<browser:view name="bindings"
+ for="Zope.App.Service.IServiceManager."
+ factory="Zope.App.Service.ServiceManagerBindingsView." />
+
+
<!-- Role-Permission management view -->
<security:protectClass name="Zope.App.Security.RolePermissionView."