From: Tony Mack Date: Tue, 19 Jul 2011 20:03:40 +0000 (-0400) Subject: support authority+sm type X-Git-Tag: sfa-1.0-28~7^2~9 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=782afc6800bba197abe12d81e922a8b485d65b02;p=sfa.git support authority+sm type --- 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":