Add missing required permission.

This commit is contained in:
FusionPBX
2023-01-19 16:00:59 -07:00
committed by GitHub
parent 62a8b95a16
commit ec6daa7be0

View File

@@ -311,6 +311,7 @@
//grant temporary permissions
$p = new permissions;
$p->add('dialplan_add', 'temp');
$p->add('dialplan_detail_add', 'temp');
//save the array
@@ -321,6 +322,7 @@
unset($array);
//revoke temporary permissions
$p->delete('dialplan_add', 'temp');
$p->delete('dialplan_detail_add', 'temp');
//clear the cache