From: Anil-Kumar Vengalil Date: Sat, 31 Oct 2009 21:21:04 +0000 (+0000) Subject: minor bug fix X-Git-Tag: sfa-0.9-6~75 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=237d0928e5a4ce402ffda7eebd142c536aa415ed minor bug fix --- diff --git a/sfa/methods/get_credential.py b/sfa/methods/get_credential.py index 1212dc2b..774c1f38 100644 --- a/sfa/methods/get_credential.py +++ b/sfa/methods/get_credential.py @@ -56,7 +56,7 @@ class get_credential(Method): # (researchers, pis, etc) be filled in self.api.fill_record_info(record) - caller_hrn = self.api.auth.cleint_cred.get_gid_caller().get_hrn() + caller_hrn = self.api.auth.client_cred.get_gid_caller().get_hrn() rights = self.api.auth.determine_user_rights(caller_hrn, record) if rights.is_empty(): raise PermissionError(self.api.auth.client_cred.get_gid_object().get_hrn() + " has no rights to " + record['name'])