From 6ef67c3657be04f28d6e88b84c8a023896ff8328 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 29 Oct 2009 18:00:22 +0000 Subject: [PATCH] allow the interface to get authority rights --- sfa/trust/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index c6e0d9d4..2f1cd2a5 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -238,9 +238,10 @@ class Auth: rl.add("info") elif type == "authority": - rl.add("authority") pis = record.get("pi", []) operators = record.get("operator", []) + if (cred_object_hrn == config.SFA_INTERFACE_HRN): + rl.add("authority") if (cred_object_hrn in pis): rl.add("authority,sa") if (cred_object_hrn in operators): -- 2.43.0