Skip to content
GitLab
Menu
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
852e8c82
Commit
852e8c82
authored
Oct 06, 2015
by
Leigh B Stoller
Browse files
Minor permission check fix.
parent
4f7a4004
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/manage_profile.ajax
View file @
852e8c82
...
...
@@ -391,7 +391,7 @@ function Do_BindParameters()
$this_idx
=
$this_user
->
uid_idx
();
$this_uid
=
$this_user
->
uid
();
if
(
!
$profile
->
CanInstantiate
(
$this_user
))
{
if
(
!
(
$profile
->
CanInstantiate
(
$this_user
)
||
ISADMIN
())
)
{
SPITAJAX_ERROR
(
1
,
"Not enough permission to instantiate profile"
);
return
;
}
...
...
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