fixed bug with caseworker home page stuff
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user