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

replace references to settings.yml

ulfertsf5887d6d14e6
diff --git a/app/seeders/basic_data/setting_seeder.rb b/app/seeders/basic_data/setting_seeder.rb
index b3aa12b03e4..3aca75f85b5 100644
--- a/app/seeders/basic_data/setting_seeder.rb
+++ b/app/seeders/basic_data/setting_seeder.rb
@@ -51,8 +51,8 @@ module BasicData
hash[definition.name] = definition.value || ''
end
- # deviate from the defaults specified in settings.yml here
- # to set a default role. The role cannot be specified in the settings.yml as
+ # deviate from the defaults specified in the settings definition here
+ # to set a default role. The role cannot be specified in the definition as
# that would mean to know the ID upfront.
update_unless_present(settings, 'new_project_user_role_id') do
Role.find_by(name: I18n.t(:default_role_project_admin)).try(:id)
diff --git a/docs/api/apiv3/tags/configuration.yml b/docs/api/apiv3/tags/configuration.yml
index 44cc7cb00f2..1af5300498e 100644
--- a/docs/api/apiv3/tags/configuration.yml
+++ b/docs/api/apiv3/tags/configuration.yml
@@ -1,7 +1,8 @@
---
description: |-
The configuration endpoint allows to read certain configuration parameters of the OpenProject instance.
- Note that there is no 1:1 relationship between this endpoint and the settings you can find in your settings.yml.
+ Note that there is no 1:1 relationship between this endpoint and the settings an administrator has at hand to modify the behaviour
+ of the application via configuration.yml or ENV variables.
For now this endpoint will only allow access to settings deemed useful for a client to know in general.