From f580f02989d02de4c1a05757a5b5743e115769d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 21 Feb 2024 11:29:56 +0100 Subject: [PATCH] fix: apply config flag for accessible features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Service/ConfigService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Service/ConfigService.php b/lib/Service/ConfigService.php index 3bb7b27e0b7..b4499c7f196 100644 --- a/lib/Service/ConfigService.php +++ b/lib/Service/ConfigService.php @@ -22,6 +22,9 @@ public function isRichEditingEnabled(): bool { } public function isRichWorkspaceAvailable(): bool { + if ($this->config->getSystemValueBool('enable_non-accessible_features', true) === false) { + return false; + } return $this->appConfig->getValueString(Application::APP_NAME, 'workspace_available', '1') === '1'; }