X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fauth.py;h=ebee5896a9d2f81c6042c2c4c57fcf6271ca1273;hb=0a1ec382afaade5edf87298cba5431b864b21a5d;hp=6faa397bb3cdbe097a961dd4913b61f2a1230bd4;hpb=237d0928e5a4ce402ffda7eebd142c536aa415ed;p=sfa.git 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):