X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FStart.py;fp=sfa%2Fmethods%2FStart.py;h=b4d88ee04bfbfcd055dd7fb0626f491290b44fb5;hb=24f04841b33b0026a925caefdd1e48419dea36a8;hp=14122225f098fa3a2bfb0b0467a1e2d95ce402bd;hpb=aa9b791a0d1a1537fbeaada81e35f34283a436c0;p=sfa.git diff --git a/sfa/methods/Start.py b/sfa/methods/Start.py index 14122225..b4d88ee0 100644 --- a/sfa/methods/Start.py +++ b/sfa/methods/Start.py @@ -26,7 +26,8 @@ class Start(Method): def call(self, xrn, creds): hrn, type = urn_to_hrn(xrn) - valid_creds = self.api.auth.checkCredentials(creds, 'startslice', hrn) + (speaking_for, _) = urn_to_hrn(options.get('geni_speaking_for')) + valid_creds = self.api.auth.checkCredentials(creds, 'startslice', hrn, speaking_for) #log the call origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()