Commit 5a6ef826 authored by Rafael Monnerat's avatar Rafael Monnerat

localchanges

parent 725c3231
......@@ -655,6 +655,15 @@ class SlapTool(BaseTool):
"""
return self._destroyedComputerPartition(computer_id, computer_partition_id)
security.declareProtected(Permissions.AccessContentsInformation,
'availableComputerPartition')
def availableComputerPartition(self, computer_id, computer_partition_id):
"""
# RAFAEL: Included here for backward compatibility with older versions
of slapos.
"""
pass
security.declareProtected(Permissions.AccessContentsInformation,
'requestComputerPartition')
def requestComputerPartition(self, computer_id=None,
......
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