X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FListResources.py;fp=sfa%2Fmethods%2FListResources.py;h=03d904d9474710020c06798e6a6b0d3735345027;hb=363702047a96076178e0536de172e8060cb1c512;hp=4fb0fafc90fff630784bbe234c4eb6e9ed8e23c7;hpb=93c4c358fd8b0cd49cb2ece9c58737b883790482;p=sfa.git diff --git a/sfa/methods/ListResources.py b/sfa/methods/ListResources.py index 4fb0fafc..03d904d9 100644 --- a/sfa/methods/ListResources.py +++ b/sfa/methods/ListResources.py @@ -36,10 +36,9 @@ class ListResources(Method): # get slice's hrn from options xrn = options.get('geni_slice_urn', '') (hrn, _) = urn_to_hrn(xrn) - (speaking_for, _) = urn_to_hrn(options.get('geni_speaking_for')) # Find the valid credentials - valid_creds = self.api.auth.checkCredentials(creds, 'listnodes', hrn, speaking_for) + valid_creds = self.api.auth.checkCredentials(creds, 'listnodes', hrn, options=options) # get hrn of the original caller origin_hrn = options.get('origin_hrn', None)