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:
4d5bc92
)
cred should be delegated to the user's authority's authority (root or sub authority)
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 17 Aug 2010 21:53:56 +0000
(21:53 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 17 Aug 2010 21:53:56 +0000
(21:53 +0000)
sfa/client/sfi.py
patch
|
blob
|
history
diff --git
a/sfa/client/sfi.py
b/sfa/client/sfi.py
index
f298d75
..
e8b3b1a
100755
(executable)
--- a/
sfa/client/sfi.py
+++ b/
sfa/client/sfi.py
@@
-738,9
+738,10
@@
class Sfi:
else:
cred = user_cred
hrn = None
-
- delegated_cred = self.delegate_cred(cred,
self.authority)
+
+ delegated_cred = self.delegate_cred(cred,
get_authority(self.authority))
creds = [cred, delegated_cred]
+ #creds = [delegated_cred]
result = server.ListResources(creds, call_options)
format = opts.format
display_rspec(result, format)