From 71a9ab19566ed3164a793732f38932addb27d066 Mon Sep 17 00:00:00 2001 From: YvesCesar Date: Fri, 13 Nov 2026 20:13:33 -0400 Subject: [PATCH] fix: keep apps enabled for everyone when enabling them for a group Signed-off-by: YvesCesar --- lib/BackgroundJob/EnableAppsForGroup.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/BackgroundJob/EnableAppsForGroup.php b/lib/BackgroundJob/EnableAppsForGroup.php index a0b7448..6c156dc 100644 --- a/lib/BackgroundJob/EnableAppsForGroup.php +++ b/lib/BackgroundJob/EnableAppsForGroup.php @@ -31,7 +31,14 @@ protected function run($argument): void { return; } foreach ($this->appIds as $appId) { + if (!is_string($appId)) { + continue; + } $appId = $this->appManager->cleanAppId($appId); + if ($this->appConfig->getValueString($appId, 'enabled', '') === 'yes') { + $this->enableLibreSign($appId); + continue; + } $toSave = $enabled = $this->appConfig->getValueArray($appId, 'enabled', []); if (!in_array($this->groupId, $toSave)) { $toSave[] = $this->groupId;