[Zope3-dev] deprecation of zope.app.introspector

Florent Xicluna laxyf at yahoo.fr
Thu Sep 14 05:05:23 EDT 2006


I see that zope.app.introspector "Will be gone in 3.3." [sic].

To help on this, I would like to commit a patch on `trunk` to remove dependency
of API doc on this deprecated package; see below.

If someone want to keep backward compatibility on this permission, I can do
something more complex. If no opposition, I will commit this simple change on
trunk soon.

Regards,

-- Florent


Index: zope/app/apidoc/codemodule/browser/introspector.zcml
===================================================================
--- zope/app/apidoc/codemodule/browser/introspector.zcml	(revision 70149)
+++ zope/app/apidoc/codemodule/browser/introspector.zcml	(working copy)
@@ -47,7 +47,7 @@
       name="introspector.html"
       for="*"
       class=".introspector.Introspector"
-      permission="zope.app.introspector.Introspect"
+      permission="zope.app.apidoc.UseAPIDoc"
       menu="zmi_views" title="Introspector"
       template="introspector.pt"
       />




More information about the Zope3-dev mailing list