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


:(

We should remove it from the trunk.

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.

For backward compatibility, I suggest we redefine zope.app.introspector.Introspect to zope.app.apidoc.UseAPIDoc via meta:redefinePermission.


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"
       />



_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to