From: Tony Mack Date: Mon, 9 Aug 2010 17:17:51 +0000 (+0000) Subject: should be checking for the startslice priv X-Git-Tag: sfa-1.0-0~55 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4da1ef02b7f08ab669ec21685d66259443bff303;hp=b115a3020d1abc1b5279909a95e56aaabc606d86;p=sfa.git should be checking for the startslice priv --- diff --git a/sfa/methods/Start.py b/sfa/methods/Start.py index ff09db0f..26a29589 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, 'start', hrn) + valid_creds = self.api.auth.checkCredentials(creds, 'startslice', hrn) #log the call origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()