X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sfa%2Fmethods%2FListResources.py;fp=sfa%2Fmethods%2FListResources.py;h=33777fd7ff2193693a8b3d91cbdc324080464b42;hb=0eb8d56df7ee56f2ffebeef43c55cc7416fdf278;hp=e7f163184dd4267c4d5248bb788e3aa14d4367ac;hpb=f863e88a906796b4ebf658946861cbf801eaf4be;p=sfa.git diff --git a/sfa/methods/ListResources.py b/sfa/methods/ListResources.py index e7f16318..33777fd7 100644 --- a/sfa/methods/ListResources.py +++ b/sfa/methods/ListResources.py @@ -34,7 +34,7 @@ class ListResources(Method): raise SfaInvalidArgument('Must specify an rspec version option. geni_rspec_version cannot be null') # Find the valid credentials - valid_creds = self.api.auth.checkCredentials(creds, 'listnodes', options=options) + valid_creds = self.api.auth.checkCredentialsSpeaksFor(creds, 'listnodes', options=options) # get hrn of the original caller origin_hrn = options.get('origin_hrn', None)