Commit cfd807ca authored by Vincent Pelletier's avatar Vincent Pelletier

CMFActivity.ActivityTool: Add missing security declaration.

parent 048c4414
......@@ -1095,6 +1095,7 @@ class ActivityTool (BaseTool):
"""
return [x for x in self._family_list if x is not None]
security.declareProtected(CMFCorePermissions.ManagePortal, 'getFamilyNodeList')
def getFamilyNodeList(self, family_name):
"""
Return the list of node names in given family.
......
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