diff --git a/public/sites/default/all.settings.php b/public/sites/default/all.settings.php index c5855f1cc..da588e06c 100644 --- a/public/sites/default/all.settings.php +++ b/public/sites/default/all.settings.php @@ -20,12 +20,24 @@ $config['elasticsearch_connector.cluster.kymp']['options']['password'] = getenv('ELASTIC_PASSWORD'); } } - // Elastic proxy URL. $config['elastic_proxy.settings']['elastic_proxy_url'] = getenv('ELASTIC_PROXY_URL'); - // Sentry DSN for React. $config['react_search.settings']['sentry_dsn_react'] = getenv('SENTRY_DSN_REACT'); +$config['openid_connect.client.tunnistamo']['settings']['ad_roles'] = [ + [ + 'ad_role' => 'Drupal_Helfi_kaupunkitaso_paakayttajat', + 'roles' => ['admin'], + ], + [ + 'ad_role' => 'Drupal_Helfi_Kaupunkiymp_ja_liikenne_sisallontuottajat_laaja', + 'roles' => ['editor'], + ], + [ + 'ad_role' => 'Drupal_Helfi_Kaupunkiymp_ja_liikenne_sisallontuottajat_suppea', + 'roles' => ['content_producer'], + ], +]; $additionalEnvVars = [ 'AZURE_BLOB_STORAGE_SAS_TOKEN|BLOBSTORAGE_SAS_TOKEN',