Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
62fbdd5a
Commit
62fbdd5a
authored
Nov 15, 2014
by
Leigh B Stoller
Browse files
Bug fix.
parent
e28da16f
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/status.ajax
View file @
62fbdd5a
...
...
@@ -168,7 +168,9 @@ function Do_GetSSHAuthObject()
#
# XXX Need to deal with multiple members of an experiment.
#
if
(
!
$this_user
->
SameUser
(
$creator
))
{
if
(
!
((
isset
(
$this_user
)
&&
$this_user
->
SameUser
(
$creator
))
||
(
isset
(
$_COOKIE
[
'quickvm_user'
])
&&
$_COOKIE
[
'quickvm_user'
]
==
$creator
->
uuid
())))
{
SPITAJAX_ERROR
(
1
,
"Not allowed to ssh; only the creator"
);
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment