Commit c4c74a3f authored by Rafael Monnerat's avatar Rafael Monnerat

CMFActivity: Make getMessageTempObjectList protected

  Create temp objects requires to be manage, so protect the
  method to raise a proper exception
parent 9bcfe9f1
...@@ -1775,7 +1775,9 @@ class ActivityTool (BaseTool): ...@@ -1775,7 +1775,9 @@ class ActivityTool (BaseTool):
return RESPONSE.redirect(self.absolute_url_path() + return RESPONSE.redirect(self.absolute_url_path() +
'/manageActivitiesAdvanced?manage_tabs_message=Activities%20Cleared') '/manageActivitiesAdvanced?manage_tabs_message=Activities%20Cleared')
security.declarePublic('getMessageTempObjectList')
security.declareProtected( CMFCorePermissions.ManagePortal,
'getMessageTempObjectList')
def getMessageTempObjectList(self, **kw): def getMessageTempObjectList(self, **kw):
""" """
Get object list of messages waiting in queues Get object list of messages waiting in queues
......
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