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

add :authentication definition

ulferts6ac16b2884f0
diff --git a/config/constants/settings/definitions.rb b/config/constants/settings/definitions.rb
index af27735de76..971862d3c23 100644
--- a/config/constants/settings/definitions.rb
+++ b/config/constants/settings/definitions.rb
@@ -100,6 +100,18 @@ Settings::Definition.define do
value: nil,
writable: false
+ # Configures the authentication capabilities supported by the instance.
+ # Currently this is focused on the configuration for basic auth.
+ # e.g.
+ # authentication:
+ # global_basic_auth:
+ # user: admin
+ # password: 123456
+ add :authentication,
+ format: :hash,
+ value: nil,
+ writable: false
+
add :autofetch_changesets,
value: true