Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
df876080
Commit
df876080
authored
Apr 14, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix.
parent
875e0a88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
www/aptui/status.php
www/aptui/status.php
+2
-1
No files found.
www/aptui/status.php
View file @
df876080
...
...
@@ -97,7 +97,8 @@ if (!$creator) {
if
(
!
(
isset
(
$this_user
)
&&
ISADMIN
()))
{
# An experiment created by a real user, can be accessed by that user only.
# Ditto a guest user; must be the same guest.
if
(
!
((
get_class
(
$creator
)
==
"User"
&&
$instance
->
CanView
(
$this_user
))
||
if
(
!
((
get_class
(
$creator
)
==
"User"
&&
isset
(
$this_user
)
&&
$instance
->
CanView
(
$this_user
))
||
(
get_class
(
$creator
)
==
"GeniUser"
&&
isset
(
$_COOKIE
[
'quickvm_user'
])
&&
$_COOKIE
[
'quickvm_user'
]
==
$creator
->
uuid
())))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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