Commit f0daccec authored by Arnaud Fontaine's avatar Arnaud Fontaine

Add missing security on checkConsistencyAndValidate of ComponentMixin.

parent a48b907f
...@@ -226,6 +226,8 @@ class ComponentMixin(PropertyRecordableMixin, Base): ...@@ -226,6 +226,8 @@ class ComponentMixin(PropertyRecordableMixin, Base):
return error_list return error_list
security.declareProtected(Permissions.ModifyPortalContent,
'checkConsistencyAndValidate')
def checkConsistencyAndValidate(self): def checkConsistencyAndValidate(self):
""" """
When a Component is in validated or modified validation state and When a Component is in validated or modified validation state and
......
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