Show to superadmin group that has dialplan_all permission (#5458)
If permissions to dialplans is given to anyone other than superadmin then they should not be able to see GLOBAL dialpans unless they have dialplan_all permission as well. * Update dialplans.php
This commit is contained in:
parent
b82d9f17a7
commit
1f2d7e1ceb
|
|
@ -150,7 +150,7 @@
|
||||||
$sql .= "where true ";
|
$sql .= "where true ";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$sql .= "where (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
$sql .= "where domain_uuid = :domain_uuid ";
|
||||||
$parameters['domain_uuid'] = $domain_uuid;
|
$parameters['domain_uuid'] = $domain_uuid;
|
||||||
}
|
}
|
||||||
if (empty($app_uuid)) {
|
if (empty($app_uuid)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue