[Checkins] SVN: Products.BTreeFolder2/trunk/ Provide security declaration for `BTreeFolder2Base.hasObject` method.

Hanno Schlichting hannosch at hannosch.eu
Mon Dec 12 12:55:43 UTC 2011


Log message for revision 123743:
  Provide security declaration for `BTreeFolder2Base.hasObject` method.
  

Changed:
  U   Products.BTreeFolder2/trunk/CHANGES.txt
  U   Products.BTreeFolder2/trunk/src/Products/BTreeFolder2/BTreeFolder2.py

-=-
Modified: Products.BTreeFolder2/trunk/CHANGES.txt
===================================================================
--- Products.BTreeFolder2/trunk/CHANGES.txt	2011-12-12 12:52:30 UTC (rev 123742)
+++ Products.BTreeFolder2/trunk/CHANGES.txt	2011-12-12 12:55:42 UTC (rev 123743)
@@ -4,6 +4,8 @@
 2.13.4 (unreleased)
 -------------------
 
+- Provide security declaration for `BTreeFolder2Base.hasObject` method.
+
 - Add some tests for correct `getattr` behavior.
 
 - Minor `__getattr__` and `_getOb` optimizations.

Modified: Products.BTreeFolder2/trunk/src/Products/BTreeFolder2/BTreeFolder2.py
===================================================================
--- Products.BTreeFolder2/trunk/src/Products/BTreeFolder2/BTreeFolder2.py	2011-12-12 12:52:30 UTC (rev 123742)
+++ Products.BTreeFolder2/trunk/src/Products/BTreeFolder2/BTreeFolder2.py	2011-12-12 12:55:42 UTC (rev 123743)
@@ -341,6 +341,7 @@
         return id in self._tree
 
     # backward compatibility
+    security.declareProtected(access_contents_information, 'hasObject')
     hasObject = has_key
 
     security.declareProtected(access_contents_information, 'objectIds')



More information about the checkins mailing list