Commit 8f0ddbd6 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 b080238d
Pipeline #36198 failed with stage
in 0 seconds
......@@ -1775,7 +1775,9 @@ class ActivityTool (BaseTool):
return RESPONSE.redirect(self.absolute_url_path() +
'/manageActivitiesAdvanced?manage_tabs_message=Activities%20Cleared')
security.declarePublic('getMessageTempObjectList')
security.declareProtected( CMFCorePermissions.ManagePortal,
'getMessageTempObjectList')
def getMessageTempObjectList(self, **kw):
"""
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