mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
VM Greetings: Adjust permissions.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check permissions
|
||||
if (!permission_exists('voicemail_greeting_view') || !extension_assigned($_REQUEST["id"])) {
|
||||
if (!permission_exists('voicemail_greeting_view') || (!permission_exists('voicemail_view') && !extension_assigned($_REQUEST["id"]))) {
|
||||
echo "access denied";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user