Commit 6534c1cc authored by Arnaud Fontaine's avatar Arnaud Fontaine

Remove useless security declarations on Constraints of ZODB Property Sheets


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41136 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ab4c5176
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment