From fd079316f54ca9af5796a4da447d28829cfbe610 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 16 Jan 2025 13:55:17 +0900 Subject: [PATCH] ACL Login: Add edit_access_id to unit detail block This is needed for a lot of legacy data lookup --- www/lib/CoreLibs/ACL/Login.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/lib/CoreLibs/ACL/Login.php b/www/lib/CoreLibs/ACL/Login.php index 0b6c55ad..bb7afaa9 100644 --- a/www/lib/CoreLibs/ACL/Login.php +++ b/www/lib/CoreLibs/ACL/Login.php @@ -1552,6 +1552,7 @@ class Login $this->acl['unit_legacy'][$unit['id']] = $this->acl['unit'][$ea_cuid]; // detail name/level set $this->acl['unit_detail'][$ea_cuid] = [ + 'id' => $unit['id'], 'name' => $unit['name'], 'uid' => $unit['uid'], 'level' => $this->default_acl_list[$this->acl['unit'][$ea_cuid]]['name'] ?? -1,