Remove allowed validation for disabled modules

pull/11978/merge
Oliver Günther 2 years ago
parent bd4c160d6f
commit 2b23113b63
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      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,

Loading…
Cancel
Save