bugfix
[sfa.git] / sfa / trust / rights.py
index bb4dffe..4cc3386 100644 (file)
@@ -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 in ["ma", "authority+ma"]:
         rl.add("authority")
         rl.add("ma")
     elif type == "authority":