diff --git a/public/sites/default/all.settings.php b/public/sites/default/all.settings.php index 3589a6a8..72eb307b 100644 --- a/public/sites/default/all.settings.php +++ b/public/sites/default/all.settings.php @@ -25,6 +25,20 @@ // 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_Rekry_sisallontuottajat_laaja', + 'roles' => ['editor'], + ], + [ + 'ad_role' => 'Drupal_Helfi_Rekry_sisallontuottajat_suppea', + 'roles' => ['content_producer'], + ], +]; $additionalEnvVars = [ 'AZURE_BLOB_STORAGE_SAS_TOKEN|BLOBSTORAGE_SAS_TOKEN',