From: Lucas Di Pentima Date: Wed, 8 Jun 2022 12:31:50 +0000 (-0300) Subject: 19177: Adds config to disable sharing links UI on workbenches. X-Git-Tag: 2.5.0~139^2~3 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/f84e4b2ab7cd923aff2f99c04cb1313b36866393 19177: Adds config to disable sharing links UI on workbenches. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index f6e9910161..a9bbf4eee9 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -1526,6 +1526,11 @@ Clusters: ShowUserAgreementInline: false SecretKeyBase: "" + # Set this configuration to true to avoid providing an easy way for users + # to share data with unauthenticated users; this may be necessary on + # installations where strict data access controls are needed. + DisableSharingURLsUI: false + # Scratch directory used by the remote repository browsing # feature. If it doesn't exist, it (and any missing parents) will be # created using mkdir_p. diff --git a/lib/config/export.go b/lib/config/export.go index 3faa0062fa..a55295d126 100644 --- a/lib/config/export.go +++ b/lib/config/export.go @@ -264,6 +264,7 @@ var whitelist = map[string]bool{ "Workbench.ArvadosDocsite": true, "Workbench.ArvadosPublicDataDocURL": true, "Workbench.DefaultOpenIdPrefix": false, + "Workbench.DisableSharingURLsUI": true, "Workbench.EnableGettingStartedPopup": true, "Workbench.EnablePublicProjectsPage": true, "Workbench.FileViewersConfigURL": true, diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go index 319fa1a38f..0d8f293124 100644 --- a/sdk/go/arvados/config.go +++ b/sdk/go/arvados/config.go @@ -260,6 +260,7 @@ type Cluster struct { ArvadosDocsite string ArvadosPublicDataDocURL string DefaultOpenIdPrefix string + DisableSharingURLsUI bool EnableGettingStartedPopup bool EnablePublicProjectsPage bool FileViewersConfigURL string