Allow inbound_route_view and outbound_route_view permissions

This commit is contained in:
FusionPBX
2023-01-11 23:35:29 -07:00
committed by GitHub
parent 59129449fd
commit 1aa1467872
+7 -7
View File
@@ -34,13 +34,13 @@
require_once "resources/paging.php";
//check permissions
if (permission_exists('dialplan_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
if (permission_exists('dialplan_view') || permission_exists('inbound_route_view') || permission_exists('outbound_route_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;