From: Anil-Kumar Vengalil Date: Sat, 31 Oct 2009 21:29:49 +0000 (+0000) Subject: list of pi in in key PI; SM uses the authority credential while contacting AM for... X-Git-Tag: sfa-0.9-6~74 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=0a1ec382afaade5edf87298cba5431b864b21a5d list of pi in in key PI; SM uses the authority credential while contacting AM for slice creation --- diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 6faa397b..ebee5896 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -225,10 +225,10 @@ class Auth: rl.add("info") elif type == "authority": - pis = record.get("pi", []) + pis = record.get("PI", []) operators = record.get("operator", []) - if (caller_hrn == config.SFA_INTERFACE_HRN): - rl.add("authority") + if (caller_hrn == self.config.SFA_INTERFACE_HRN): + rl.add("authority,sa,ma",) if (caller_hrn in pis): rl.add("authority,sa") if (caller_hrn in operators):