add sa, ma rights to authority
authorTony Mack <tmack@cs.princeton.edu>
Tue, 2 Jun 2009 21:26:24 +0000 (21:26 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 2 Jun 2009 21:26:24 +0000 (21:26 +0000)
geni/util/auth.py

index 0204122..442ce20 100644 (file)
@@ -179,7 +179,7 @@ class Auth:
         elif type == "authority":
             pis = record.get_geni_info().get("pi", [])
             operators = record.get_geni_info().get("operator", [])
-            rl.add("authority")
+            rl.add("authority,sa,ma")
             if (cred_object_hrn in pis):
                 rl.add("sa")
             if (cred_object_hrn in operators):