Skip to content

Commit

Permalink
Merge pull request #409 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 1ce2b4b + f4e59d0 commit 97c14c2
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 @@ -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',
Expand Down

0 comments on commit 97c14c2

Please sign in to comment.