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
a114c744
Commit
a114c744
authored
May 21, 2014
by
Leigh B Stoller
Browse files
Another permission check fix
parent
aa772bba
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/manage_profile.php
View file @
a114c744
...
...
@@ -360,10 +360,6 @@ if (isset($action) && $action == "snapshot") {
if
(
!
$profile
)
{
$errors
[
"error"
]
=
"Cannot load profile for instance!"
;
}
else
if
(
$this_idx
!=
$profile
->
creator_idx
()
&&
!
$profile
->
ispublic
()
&&
!
ISADMIN
())
{
$errors
[
"error"
]
=
"Not enough permission!"
;
}
}
}
...
...
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