From: Faiyaz Ahmed Date: Wed, 12 Nov 2008 19:19:20 +0000 (+0000) Subject: ReCreate is NOT an anonymous call. X-Git-Tag: NodeManager-1.8-1~23 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=85c55d2994fa59ee82327edb57bfae01227464bd ReCreate is NOT an anonymous call. --- diff --git a/api.py b/api.py index 41ab0cd..0e51ba3 100644 --- a/api.py +++ b/api.py @@ -72,7 +72,7 @@ class APIRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler): else: raise xmlrpclib.Fault(108, '%s: Permission denied.' % caller_name) # Anyone can call these functions - elif method_name not in ('ReCreate', 'Help', 'Ticket', 'GetXIDs', 'GetSSHKeys'): + elif method_name not in ('Help', 'Ticket', 'GetXIDs', 'GetSSHKeys'): # Authenticate the caller if not in the above fncts. target_name = args[0] # Gather target slice's object.