Commit 2c6c9a6b authored by Vincent Pelletier's avatar Vincent Pelletier

Fix security rule for getIdleNodeList. The method was never commited under the...

Fix security rule for getIdleNodeList. The method was never commited under the former development-time name which was still present in the security definition.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16970 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b078fc77
...@@ -460,7 +460,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -460,7 +460,7 @@ class ActivityTool (Folder, UniqueObject):
def getProcessingNodeList(self): def getProcessingNodeList(self):
return self.getNodeList(role=ROLE_PROCESSING) return self.getNodeList(role=ROLE_PROCESSING)
security.declareProtected(CMFCorePermissions.ManagePortal, 'getUnusedNodeList') security.declareProtected(CMFCorePermissions.ManagePortal, 'getIdleNodeList')
def getIdleNodeList(self): def getIdleNodeList(self):
return self.getNodeList(role=ROLE_IDLE) return self.getNodeList(role=ROLE_IDLE)
......
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