X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Frights.py;h=1d320a50f5b99cad7f318d668ddac81f9612fb7d;hb=457cfc8296aacfce33311a6e2ffb0d1e22ee9e7d;hp=bb4dffe66dede4ea14ac6a040db63647aa9ec20e;hpb=a1580fc0f4437dceb7f06edb74e355767e396498;p=sfa.git 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":