Fix ACL for ncm

This commit is contained in:
Calvo 2022-06-17 15:02:57 +02:00
parent ddee99b016
commit 49df65e69a
1 changed files with 25 additions and 21 deletions

View File

@ -235,27 +235,31 @@ function groups_combine_acl($acl_group_a, $acl_group_b)
}
$acl_list = [
'agent_view' => 1,
'agent_edit' => 1,
'agent_disable' => 1,
'alert_edit' => 1,
'alert_management' => 1,
'pandora_management' => 1,
'db_management' => 1,
'user_management' => 1,
'report_view' => 1,
'report_edit' => 1,
'report_management' => 1,
'event_view' => 1,
'event_edit' => 1,
'event_management' => 1,
'map_view' => 1,
'map_edit' => 1,
'map_management' => 1,
'vconsole_view' => 1,
'vconsole_edit' => 1,
'vconsole_management' => 1,
'tags' => 1,
'agent_view' => 1,
'agent_edit' => 1,
'agent_disable' => 1,
'alert_edit' => 1,
'alert_management' => 1,
'pandora_management' => 1,
'db_management' => 1,
'user_management' => 1,
'report_view' => 1,
'report_edit' => 1,
'report_management' => 1,
'event_view' => 1,
'event_edit' => 1,
'event_management' => 1,
'map_view' => 1,
'map_edit' => 1,
'map_management' => 1,
'vconsole_view' => 1,
'vconsole_edit' => 1,
'vconsole_management' => 1,
'tags' => 1,
'network_config_view' => 1,
'network_config_edit' => 1,
'network_config_management' => 1,
];
foreach ($acl_group_a['tags'] as $key => $value) {