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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

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;