git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
adf6b61
)
define the rights for authorities
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 20 May 2009 03:32:21 +0000
(
03:32
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 20 May 2009 03:32:21 +0000
(
03:32
+0000)
geni/util/rights.py
patch
|
blob
|
history
diff --git
a/geni/util/rights.py
b/geni/util/rights.py
index
50f1374
..
154f674
100644
(file)
--- 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")