fixed user_rights control, when new service is created rights are setted for bruno

This commit is contained in:
Tower committed 2026-05-19 21:55:55 +02:00
1 parent 4558a717fa
commit 2231d65465
1 file changed
+4
+4
View File
@@ -1,5 +1,8 @@
<?php
include_once(__DIR__ . '/../controller/RightsController.php');
include_once(__DIR__ . '/../config.php');
$configFile = 'config.php';
$backupDir = 'config_backups';
@@ -47,6 +50,7 @@ if (isset($_POST['save']) && ($_SESSION['logged_in'] ?? false)) {
$serviceToGroupMapping[$s['targetGroup']][] = $finalId;
}
}
(new RightsController())->RightsHandler($s['name']);
}
$newServiceGroups = [];