From 6073203ecb27ea51b8427bf20f195c81815a182f Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 2 Jun 2009 20:45:06 +0000 Subject: [PATCH] determine_user_rights needs to give auth credentials the auth right --- geni/util/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/geni/util/auth.py b/geni/util/auth.py index 9f98963b..02041225 100644 --- a/geni/util/auth.py +++ b/geni/util/auth.py @@ -179,12 +179,11 @@ class Auth: elif type == "authority": pis = record.get_geni_info().get("pi", []) operators = record.get_geni_info().get("operator", []) + rl.add("authority") if (cred_object_hrn in pis): rl.add("sa") if (cred_object_hrn in operators): rl.add("ma") - if (cred_object_hrn in pis) or (cred_object_hrn in operators): - rl.add("authority") elif type == "user": rl.add("refresh") -- 2.47.0