From: Tony Mack Date: Fri, 6 Aug 2010 21:10:39 +0000 (+0000) Subject: should be checking for the startslice priv not deletesliver X-Git-Tag: sfa-1.0-0~72 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=85cabfe8c3f282c752cc0cd6df8afccc9a7afc3b;p=sfa.git should be checking for the startslice priv not deletesliver --- diff --git a/sfa/methods/Start.py b/sfa/methods/Start.py index d52b25a1..ff09db0f 100644 --- a/sfa/methods/Start.py +++ b/sfa/methods/Start.py @@ -29,7 +29,7 @@ class Start(Method): def call(self, xrn, creds): hrn, type = urn_to_hrn(xrn) - valid_creds = self.api.auth.checkCredentials(creds, 'deletesliver', hrn) + valid_creds = self.api.auth.checkCredentials(creds, 'start', hrn) #log the call origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()