Skip to content

Commit

Permalink
Merge pull request #530 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 429cd5d + e3090ba commit 2355425
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions public/sites/default/all.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,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_Etusivu_sisallontuottajat_laaja',
'roles' => ['editor'],
],
[
'ad_role' => 'Drupal_Helfi_Etusivu_uutistuottajat',
'roles' => ['news_producer'],
],
];

$additionalEnvVars = [
'AZURE_BLOB_STORAGE_SAS_TOKEN|BLOBSTORAGE_SAS_TOKEN',
Expand Down

0 comments on commit 2355425

Please sign in to comment.