Skip to content

Commit

Permalink
UHF-9982: Grant raven permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Oct 17, 2024
1 parent 96e619f commit 39bcafc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modules/helfi_base_content/helfi_base_content.install
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ function helfi_base_content_grant_permissions() : void {
'access content',
// @helfi_api_base
'view remote entities',
// @raven
'send javascript errors to sentry',
],
'authenticated' => [
'access content',
'view unpublished paragraphs',
// @helfi_api_base.
'view remote entities',
// @raven
'send javascript errors to sentry',
],
'admin' => [
// @block.
Expand Down Expand Up @@ -326,3 +330,10 @@ function helfi_base_content_update_9012(): void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_base_content');
}

/**
* UHF-9982 Grant sentry permissions.
*/
function helfi_base_content_update_9013(): void {
helfi_base_content_grant_permissions();
}

0 comments on commit 39bcafc

Please sign in to comment.