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

Link to storage SSO docs from storage wizard

Jan Sandbrink3e087ed84832
diff --git a/config/static_links.yml b/config/static_links.yml
index 43a91cd09dd..793f03de678 100644
--- a/config/static_links.yml
+++ b/config/static_links.yml
@@ -175,6 +175,8 @@ storage_docs:
href: https://www.openproject.org/docs/system-admin-guide/integrations/one-drive/drive-guide/
nextcloud_oauth_application:
href: https://apps.nextcloud.com/apps/integration_openproject
+ nextcloud_sso:
+ href: https://www.openproject.org/docs/system-admin-guide/integrations/nextcloud/oidc-sso
one_drive_oauth_application:
href: https://portal.azure.com/
troubleshooting:
diff --git a/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb b/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb
index b2d8307d4bf..fa2d618e5ce 100644
--- a/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb
+++ b/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb
@@ -41,6 +41,16 @@ See COPYRIGHT and LICENSE files for more details.
}
) do |form|
flex_layout do |general_info_row|
+ general_info_row.with_row(mb: 3) do
+ concat(render(Primer::Beta::Text.new(color: :subtle)) { "#{t('storages.storage_audience.documentation_intro')} " })
+ concat(
+ render(Primer::Beta::Link.new(href: OpenProject::Static::Links.url_for(:storage_docs, :nextcloud_sso))) do |link|
+ link.with_trailing_visual_icon(icon: "link-external")
+ I18n.t(:label_more_information)
+ end
+ )
+ end
+
general_info_row.with_row(mb: 3) do
render(Storages::Admin::StorageAudienceInputForm.new(form))
end
diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.yml
index fb28a0c77fa..b050b85fc22 100644
--- a/modules/storages/config/locales/en.yml
+++ b/modules/storages/config/locales/en.yml
@@ -476,6 +476,7 @@ en:
description: Deactivating this option will hide the attachments list on the work packages files tab. The files attached in the description of a work package will still be uploaded in the internal attachments storage.
label: Show attachments in the work packages files tab
storage_audience:
+ documentation_intro: Details on the following options and what needs to be configured in the identity provider can be found in our documentation.
idp:
helptext: OpenProject will use the first access token received by the identity provider to authenticate requests to the storage. It will not try to obtain another token.
label: Use first access token obtained by identity provider