From 457cfc8296aacfce33311a6e2ffb0d1e22ee9e7d Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 3 May 2011 16:26:38 -0400 Subject: [PATCH] determine_rights() now supports 'authority+sa' and 'authority+ma' types --- sfa/trust/rights.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/trust/rights.py b/sfa/trust/rights.py index bb4dffe6..1d320a50 100644 --- a/sfa/trust/rights.py +++ b/sfa/trust/rights.py @@ -57,10 +57,10 @@ def determine_rights(type, name): rl.add("refresh") rl.add("resolve") rl.add("info") - elif type == "sa": + elif type in ["sa", "authority+sa"]: rl.add("authority") rl.add("sa") - elif type == "ma": + elif type ["ma", "authority+ma"]:: rl.add("authority") rl.add("ma") elif type == "authority": -- 2.43.0