From 782afc6800bba197abe12d81e922a8b485d65b02 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 19 Jul 2011 16:03:40 -0400 Subject: [PATCH] support authority+sm type --- 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 14749cbe..389b192c 100644 --- a/sfa/trust/rights.py +++ b/sfa/trust/rights.py @@ -60,7 +60,7 @@ def determine_rights(type, name): elif type in ["sa", "authority+sa"]: rl.add("authority") rl.add("sa") - elif type in ["ma", "authority+ma", "cm", "authority+cm"]: + elif type in ["ma", "authority+ma", "cm", "authority+cm", "sm", "authority+sm"]: rl.add("authority") rl.add("ma") elif type == "authority": @@ -273,7 +273,7 @@ class Rights: elif type in ["sa", "authority+sa"]: rl.add("authority") rl.add("sa") - elif type in ["ma", "authority+ma", "cm", "authority+cm"]: + elif type in ["ma", "authority+ma", "cm", "authority+cm", "sm", "authority+sm"]: rl.add("authority") rl.add("ma") elif type == "authority": -- 2.43.0