[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Security - _protections.py:1.7

Steve Alexander steve@cat-box.net
Fri, 20 Dec 2002 06:11:38 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv12835/lib/python/Zope/App/Security

Modified Files:
	_protections.py 
Log Message:
Made PersistentMetaClass instances (ie PersistentClasses) have the same
checker as types.


=== Zope3/lib/python/Zope/App/Security/_protections.py 1.6 => 1.7 ===
--- Zope3/lib/python/Zope/App/Security/_protections.py:1.6	Sat Nov 30 10:17:58 2002
+++ Zope3/lib/python/Zope/App/Security/_protections.py	Fri Dec 20 06:11:37 2002
@@ -101,4 +101,6 @@
                         ]
                      )
                   )
-    
+    from Persistence import PersistentMetaClass
+    from Zope.Security.Checker import _typeChecker
+    defineChecker(PersistentMetaClass, _typeChecker)