[Erp5-report] r41136 arnaud.fontaine - /erp5/trunk/products/ERP5Type/Core/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 6 02:51:55 CET 2010


Author: arnaud.fontaine
Date: Mon Dec  6 02:51:54 2010
New Revision: 41136

URL: http://svn.erp5.org?rev=41136&view=rev
Log:
Remove useless security declarations on Constraints of ZODB Property Sheets

Modified:
    erp5/trunk/products/ERP5Type/Core/AttributeEqualityConstraint.py
    erp5/trunk/products/ERP5Type/Core/CategoryExistenceConstraint.py
    erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py

Modified: erp5/trunk/products/ERP5Type/Core/AttributeEqualityConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/AttributeEqualityConstraint.py?rev=41136&r1=41135&r2=41136&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/AttributeEqualityConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Core/AttributeEqualityConstraint.py [utf8] Mon Dec  6 02:51:54 2010
@@ -62,8 +62,6 @@ class AttributeEqualityConstraint(Constr
   property_sheets = ConstraintMixin.property_sheets + \
                     (PropertySheet.AttributeEqualityConstraint,)
 
-  security.declareProtected(Permissions.AccessContentsInformation,
-                            'checkConsistency')
   def _checkConsistency(self, obj, fixit=False):
     """
     Check the object's consistency.

Modified: erp5/trunk/products/ERP5Type/Core/CategoryExistenceConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/CategoryExistenceConstraint.py?rev=41136&r1=41135&r2=41136&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/CategoryExistenceConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Core/CategoryExistenceConstraint.py [utf8] Mon Dec  6 02:51:54 2010
@@ -55,8 +55,6 @@ class CategoryExistenceConstraint(Constr
     return len(obj.getCategoryMembershipList(base_category,
                                              portal_type=portal_type_list))
 
-  security.declareProtected(Permissions.AccessContentsInformation,
-                            'checkConsistency')
   def _checkConsistency(self, obj, fixit=0):
     """
     Check the object's consistency.

Modified: erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py?rev=41136&r1=41135&r2=41136&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py [utf8] Mon Dec  6 02:51:54 2010
@@ -57,8 +57,6 @@ class PropertyExistenceConstraint(Constr
   property_sheets = ConstraintMixin.property_sheets + \
                     (PropertySheet.PropertyExistenceConstraint,)
 
-  security.declareProtected(Permissions.AccessContentsInformation,
-                            'checkConsistency')
   def _checkConsistency(self, obj, fixit=0):
     """
     Check the object's consistency.



More information about the Erp5-report mailing list