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:
2b6ad16
)
should be checking for the getticket priv
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 9 Aug 2010 16:32:23 +0000
(16:32 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 9 Aug 2010 16:32:23 +0000
(16:32 +0000)
sfa/methods/GetTicket.py
patch
|
blob
|
history
diff --git
a/sfa/methods/GetTicket.py
b/sfa/methods/GetTicket.py
index
afd7f49
..
119ae48
100644
(file)
--- a/
sfa/methods/GetTicket.py
+++ b/
sfa/methods/GetTicket.py
@@
-42,7
+42,7
@@
class GetTicket(Method):
def call(self, xrn, creds, rspec, users):
hrn, type = urn_to_hrn(xrn)
# Find the valid credentials
- valid_creds = self.api.auth.checkCredentials(creds, '
createsliver
', hrn)
+ valid_creds = self.api.auth.checkCredentials(creds, '
getticket
', hrn)
origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()
#log the call