From 2b23113b631027e980961086df4b285274be30e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 30 Jan 2023 21:51:20 +0100 Subject: [PATCH] Remove allowed validation for disabled modules --- config/constants/settings/definitions.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/constants/settings/definitions.rb b/config/constants/settings/definitions.rb index 41a0078193..601e52a23e 100644 --- a/config/constants/settings/definitions.rb +++ b/config/constants/settings/definitions.rb @@ -349,7 +349,6 @@ Settings::Definition.define do add :disabled_modules, description: 'A list of module names to prevent access to in the application', default: [], - allowed: -> { OpenProject::AccessControl.available_project_modules.map(&:to_s) }, writable: false add :disable_password_choice,