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

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