X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FListResources.py;h=4fb0fafc90fff630784bbe234c4eb6e9ed8e23c7;hb=24f04841b33b0026a925caefdd1e48419dea36a8;hp=04359a046be630f472d660ef0f0f8cb3ffec4942;hpb=aa9b791a0d1a1537fbeaada81e35f34283a436c0;p=sfa.git diff --git a/sfa/methods/ListResources.py b/sfa/methods/ListResources.py index 04359a04..4fb0fafc 100644 --- a/sfa/methods/ListResources.py +++ b/sfa/methods/ListResources.py @@ -36,9 +36,10 @@ 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) + valid_creds = self.api.auth.checkCredentials(creds, 'listnodes', hrn, speaking_for) # get hrn of the original caller origin_hrn = options.get('origin_hrn', None)