Fix temporary permissions

This commit is contained in:
FusionPBX
2024-11-29 14:06:08 -07:00
committed by GitHub
parent 1b675c1b56
commit 8b7bd29456
131 changed files with 258 additions and 258 deletions

View File

@@ -159,7 +159,7 @@ if ($domains_processed == 1) {
$array['default_settings'][$x]['default_setting_subcategory'] = "password_special";
//add the temporary permission
$p = new permissions;
$p = permissions::new();
$p->add("default_setting_edit", 'temp');
//save to the data
@@ -208,7 +208,7 @@ if ($domains_processed == 1) {
$x++;
//add the temporary permission
$p = new permissions;
$p = permissions::new();
$p->add("email_template_add", 'temp');
$p->add("email_template_edit", 'temp');