Commit 5c7be90e authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Jérome Perrin

component: We don't need Permissions.ModifyPortalContent to check consistency....

component: We don't need Permissions.ModifyPortalContent to check consistency. Permissions.AccessContentsInformation is enough
parent c10bb52c
......@@ -208,7 +208,7 @@ class ComponentMixin(PropertyRecordableMixin, Base):
except (AttributeError, KeyError, IndexError):
return 'draft'
security.declareProtected(Permissions.ModifyPortalContent, 'checkConsistency')
security.declareProtected(Permissions.AccessContentsInformation, 'checkConsistency')
def checkConsistency(self, *args, **kw):
"""
Check the consistency of the Component upon validate or when being
......
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