git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a53ee9f
)
- Auth() now implies BootAuth()
author
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 31 Jan 2007 22:41:34 +0000
(22:41 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 31 Jan 2007 22:41:34 +0000
(22:41 +0000)
PLC/Methods/AuthCheck.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/AuthCheck.py
b/PLC/Methods/AuthCheck.py
index
88b57ae
..
0a4c260
100644
(file)
--- a/
PLC/Methods/AuthCheck.py
+++ b/
PLC/Methods/AuthCheck.py
@@
-9,7
+9,7
@@
class AuthCheck(Method):
"""
roles = ['admin', 'pi', 'user', 'tech', 'node']
- accepts = [
Mixed(Auth(), BootAuth()
)]
+ accepts = [
Auth(
)]
returns = Parameter(int, '1 if successful')
def call(self, auth):