Commit b13f8c5b authored by Ivan Tyagov's avatar Ivan Tyagov

Add security definitions fo isEditableMode API.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40032 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6fa82a4c
......@@ -3391,7 +3391,8 @@ class Base( CopyContainer,
return True if we are in editable mode
"""
return getattr(self.REQUEST, 'editable_mode', 0)
security.declarePublic('isEditableMode')
isEditableMode = isEditableWebMode # for backwards compatability
......
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