Commit 9ce212ae authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

id_as_reference.py: revert unused modifications added during development.

parent b25b9532
...@@ -42,6 +42,7 @@ def IdAsReferenceMixin(extra_string, string_type="suffix"): ...@@ -42,6 +42,7 @@ def IdAsReferenceMixin(extra_string, string_type="suffix"):
# Declarative security # Declarative security
security = ClassSecurityInfo() security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation) security.declareObjectProtected(Permissions.AccessContentsInformation)
def cb_isMoveable(self): def cb_isMoveable(self):
return self.cb_userHasCopyOrMovePermission() return self.cb_userHasCopyOrMovePermission()
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
......
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