From: Tony Mack Date: Wed, 20 May 2009 03:32:21 +0000 (+0000) Subject: define the rights for authorities X-Git-Tag: sfa-0.9-0@14641~381 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=012f4a918c0569f1322ef079527a09719cb48447;p=sfa.git define the rights for authorities --- diff --git a/geni/util/rights.py b/geni/util/rights.py index 50f1374d..154f6748 100644 --- a/geni/util/rights.py +++ b/geni/util/rights.py @@ -50,6 +50,8 @@ def determine_rights(type, name): rl.add("authority,sa") elif type == "ma": rl.add("authority,ma") + elif type == "authority": + r1.add("authority,sa,ma") elif type == "slice": rl.add("refresh") rl.add("embed") @@ -222,6 +224,8 @@ class RightList: rl.add("authority,sa") elif type == "ma": rl.add("authority,ma") + elif type == "authority": + rl.add("authority,sa,ma") elif type == "slice": rl.add("refresh") rl.add("embed")