[Zope3-dev] ObjectHub security declarations

sean.bowman@acm.org sean.bowman@acm.org
Tue, 21 Jan 2003 18:52:44 -0600 (CST)


Hello,

The <require> security directive pertaining to the IObjectHub part of
ObjectHub in src/zope/app/services/configure.zcml looks out of date.  It
refers to methods (like "lookupRuid") that don't appear to exist.  Here is
what I think it should look like.

Sean

-----

Index: src/zope/app/services/configure.zcml
===================================================================
RCS file: /cvs-repository/Zope3/src/zope/app/services/configure.zcml,v
retrieving revision 1.10
diff -u -r1.10 configure.zcml
--- src/zope/app/services/configure.zcml        21 Jan 2003 21:45:07 -0000
1.10
+++ src/zope/app/services/configure.zcml        22 Jan 2003 00:47:21 -0000
@@ -397,8 +397,9 @@
         permission='zope.ManageServices' />
     <require
         permission="zope.View"
-        attributes="notify lookupRuid lookupLocation getObject
-                    register unregister" />
+        attributes="notify getHubId getLocation getObject
+                    register unregister numRegistrations
+                   getRegistrations" />
     <require
         permission="zope.ManageServices"
         attributes="bound unbound subscribe unsubscribe subscribeOnBind