diff --git a/product/ERP5Type/Core/AttributeEqualityConstraint.py b/product/ERP5Type/Core/AttributeEqualityConstraint.py index c0779ac408428c7b7c6aed43267c9bd8a000b400..e60099b11685d3d74079504e66d0c6b1572761d4 100644 --- a/product/ERP5Type/Core/AttributeEqualityConstraint.py +++ b/product/ERP5Type/Core/AttributeEqualityConstraint.py @@ -62,8 +62,6 @@ class AttributeEqualityConstraint(ConstraintMixin): property_sheets = ConstraintMixin.property_sheets + \ (PropertySheet.AttributeEqualityConstraint,) - security.declareProtected(Permissions.AccessContentsInformation, - 'checkConsistency') def _checkConsistency(self, obj, fixit=False): """ Check the object's consistency. diff --git a/product/ERP5Type/Core/CategoryExistenceConstraint.py b/product/ERP5Type/Core/CategoryExistenceConstraint.py index 22ff0399e6fd4ad6ec83dbc3f9ab61d6f7c2137c..91deb6ea9fb28fd62b85571d5240b1d439285e06 100644 --- a/product/ERP5Type/Core/CategoryExistenceConstraint.py +++ b/product/ERP5Type/Core/CategoryExistenceConstraint.py @@ -55,8 +55,6 @@ class CategoryExistenceConstraint(ConstraintMixin): 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. diff --git a/product/ERP5Type/Core/PropertyExistenceConstraint.py b/product/ERP5Type/Core/PropertyExistenceConstraint.py index 805f5727fc336e38ad94497c39f3b0d263e53a4a..993d38d20c12e9c8abaaa5919f6ab61e4f16e32b 100644 --- a/product/ERP5Type/Core/PropertyExistenceConstraint.py +++ b/product/ERP5Type/Core/PropertyExistenceConstraint.py @@ -57,8 +57,6 @@ class PropertyExistenceConstraint(ConstraintMixin): property_sheets = ConstraintMixin.property_sheets + \ (PropertySheet.PropertyExistenceConstraint,) - security.declareProtected(Permissions.AccessContentsInformation, - 'checkConsistency') def _checkConsistency(self, obj, fixit=0): """ Check the object's consistency.