Commit ea12774e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix wrong permission in CMFActivity.

parent 0aa35a8c
...@@ -901,7 +901,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -901,7 +901,7 @@ class ActivityTool (Folder, UniqueObject):
"""Check we have been provided a good node name""" """Check we have been provided a good node name"""
return isinstance(node_name, str) return isinstance(node_name, str)
security.declarePublic('manage_setDistributingNode') security.declareProtected(CMFCorePermissions.ManagePortal, 'manage_setDistributingNode')
def manage_setDistributingNode(self, distributingNode, REQUEST=None): def manage_setDistributingNode(self, distributingNode, REQUEST=None):
""" set the distributing node """ """ set the distributing node """
if not distributingNode or self._isValidNodeName(distributingNode): if not distributingNode or self._isValidNodeName(distributingNode):
......
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