Skip to content

Commit

Permalink
UHF-10045: Install helfi_users module
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Aug 26, 2024
1 parent 1b2885e commit a50fbcc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helfi_platform_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,16 @@ function helfi_platform_config_update_9311(): void {
}
}
}

/**
* UHF-9708: Enable helfi_users module.
*/
function helfi_platform_config_update_9312() : void {
helfi_platform_config_remove_permissions_from_all_roles([
'delete user accounts',
]);

if (!\Drupal::moduleHandler()->moduleExists('helfi_users')) {
\Drupal::service('module_installer')->install(['helfi_users']);
}
}

0 comments on commit a50fbcc

Please sign in to comment.