Skip to content

Commit

Permalink
UHF-9585: Map AD roles
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Feb 14, 2024
1 parent 007f468 commit 1906d1c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions public/sites/default/all.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1906d1c

Please sign in to comment.