From: Tony Mack Date: Fri, 6 Aug 2010 21:42:45 +0000 (+0000) Subject: shouldn't specify an hrn when validating credentials for this operation X-Git-Tag: sfa-1.0-0~67 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=13ad45c50dc6863870bfe7e37339e07e275a89b3;p=sfa.git shouldn't specify an hrn when validating credentials for this operation --- diff --git a/sfa/methods/GetCredential.py b/sfa/methods/GetCredential.py index a604ea0d..eb535ed2 100644 --- a/sfa/methods/GetCredential.py +++ b/sfa/methods/GetCredential.py @@ -41,7 +41,7 @@ class GetCredential(Method): hrn, type = urn_to_hrn(xrn) # check creds - valid_creds = self.api.auth.checkCredentials(creds, 'getcredential', hrn) + valid_creds = self.api.auth.checkCredentials(creds, 'getcredential') self.api.auth.verify_object_belongs_to_me(hrn) #log the call