[Zope3-checkins] SVN: Zope3/trunk/ A small bug fix reported by Gustavo.

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Sep 23 13:47:55 EDT 2004


Log message for revision 27663:
  A small bug fix reported by Gustavo.
  


Changed:
  U   Zope3/trunk/doc/CHANGES.txt
  U   Zope3/trunk/src/zope/app/securitypolicy/securitymap.py


-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt	2004-09-23 16:37:38 UTC (rev 27662)
+++ Zope3/trunk/doc/CHANGES.txt	2004-09-23 17:47:53 UTC (rev 27663)
@@ -110,6 +110,8 @@
 
     Bug Fixes
 
+      - Small but important fix to security map. It was not marking objects
+        with modified permissions as changed, due to a missing assignment.
 
     Much thanks to everyone who contributed to this release:
 

Modified: Zope3/trunk/src/zope/app/securitypolicy/securitymap.py
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/securitymap.py	2004-09-23 16:37:38 UTC (rev 27662)
+++ Zope3/trunk/src/zope/app/securitypolicy/securitymap.py	2004-09-23 17:47:53 UTC (rev 27663)
@@ -143,7 +143,7 @@
     def _changed(self):
         map = self.map
         if isinstance(map, PersistentSecurityMap):
-            map._p_changed
+            map._p_changed = 1
         else:
             map = PersistentSecurityMap()
             map._byrow = self._byrow



More information about the Zope3-Checkins mailing list