Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
2af55f0f
Commit
2af55f0f
authored
Jan 15, 2018
by
Francesc Guasch
Browse files
[#513] Check the owner ofthe domain
parent
90de86d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/VM/Void.pm
View file @
2af55f0f
...
...
@@ -51,6 +51,7 @@ sub create_domain {
,
id_base
=>
$args
{
id_base
}
);
if
(
$args
{
id_base
})
{
my
$owner
=
Ravada::Auth::
SQL
->
search_by_id
(
$args
{
id_owner
});
my
$domain_base
=
$self
->
search_domain_by_id
(
$args
{
id_base
});
confess
"
I can't find base domain id=
$args
{id_base}
"
if
!
$domain_base
;
...
...
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