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
(parent:
975ff8a
)
pi can get a slice's cred without being in the slice itself
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 4 Jan 2010 20:37:03 +0000
(20:37 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 4 Jan 2010 20:37:03 +0000
(20:37 +0000)
sfa/trust/auth.py
patch
|
blob
|
history
diff --git
a/sfa/trust/auth.py
b/sfa/trust/auth.py
index
43a81f3
..
0d57871
100644
(file)
--- a/
sfa/trust/auth.py
+++ b/
sfa/trust/auth.py
@@
-231,7
+231,8
@@
class Auth:
if type=="slice":
researchers = record.get("researcher", [])
- if (caller_hrn in researchers):
+ pis = record.get("PI", [])
+ if (caller_hrn in researchers + pis):
rl.add("refresh")
rl.add("embed")
rl.add("bind")