[Zope3-checkins] 
	SVN: Zope3/branches/ZopeX3-3.0-broken/src/zope/app/securitypolicy/securitymap.py
	Have annotation security maps parents, so that they can acquire
    Jim Fulton 
    jim at zope.com
       
    Fri Aug 27 11:01:18 EDT 2004
    
    
  
Log message for revision 27295:
  Have annotation security maps parents, so that they can acquire
  permission grants.
  
Changed:
  U   Zope3/branches/ZopeX3-3.0-broken/src/zope/app/securitypolicy/securitymap.py
-=-
Modified: Zope3/branches/ZopeX3-3.0-broken/src/zope/app/securitypolicy/securitymap.py
===================================================================
--- Zope3/branches/ZopeX3-3.0-broken/src/zope/app/securitypolicy/securitymap.py	2004-08-27 15:01:16 UTC (rev 27294)
+++ Zope3/branches/ZopeX3-3.0-broken/src/zope/app/securitypolicy/securitymap.py	2004-08-27 15:01:18 UTC (rev 27295)
@@ -126,6 +126,7 @@
 class AnnotationSecurityMap(SecurityMap):
 
     def __init__(self, context):
+        self.__parent__ = context
         self._context = context
         annotations = IAnnotations(self._context)
         map = annotations.get(self.key)
    
    
More information about the Zope3-Checkins
mailing list