From 7493289a3ef6b00a945489140b6577fdf7651c9d Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 4 Jan 2010 20:37:03 +0000 Subject: [PATCH] pi can get a slice's cred without being in the slice itself --- 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 43a81f30..0d578715 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -231,7 +231,8 @@ class Auth: if type=="slice": researchers = record.get("researcher", []) - if (caller_hrn in researchers): + pis = record.get("PI", []) + if (caller_hrn in researchers + pis): rl.add("refresh") rl.add("embed") rl.add("bind") -- 2.47.0