Skip to content

Commit

Permalink
Merge pull request #799 from City-of-Helsinki/UHF-9585
Browse files Browse the repository at this point in the history
UHF-9585: Map AD roles
  • Loading branch information
tuutti authored Feb 20, 2024
2 parents a2a82af + 1906d1c commit 66cdae1
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 66cdae1

Please sign in to comment.