fixed bug with caseworker home page stuff

This commit is contained in:
2022-07-12 08:44:20 +01:00
parent c03683d819
commit 0f93be7071
2 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ class OpencaseSubscriber implements EventSubscriberInterface {
return $this->currentUserCanSeeAllCases();
}
private function currentUserCanSeeAllCases():bool {
return \Drupal::currentUser()->hasPermission('view all published case entities');
return \Drupal::currentUser()->hasPermission('view published case entities');
}
private function redirectToAlternativeHomePage(GetResponseEvent $event):void {