Fix temporary permissions

This commit is contained in:
FusionPBX
2024-11-29 13:57:01 -07:00
committed by GitHub
parent 4db95658c3
commit cd8d5302ac
131 changed files with 252 additions and 252 deletions

View File

@@ -151,7 +151,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
@@ -200,7 +200,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');