Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove allowed validation for disabled modules

Oliver Günther2b23113b6310
diff --git a/config/constants/settings/definitions.rb b/config/constants/settings/definitions.rb
index 41a00781935..601e52a23ea 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,