X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Frights.py;h=133048b8df00bf098121509ee6f878711239698f;hb=98dafe3d2313b0d3606c1c69c8cf1c7fd04ce105;hp=bb4dffe66dede4ea14ac6a040db63647aa9ec20e;hpb=dafdaa32a23b683eb4e7e835f70b4c42daeb1136;p=sfa.git diff --git a/sfa/trust/rights.py b/sfa/trust/rights.py index bb4dffe6..133048b8 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":