Remove usage of deprecated Role class

This commit is contained in:
2023-08-31 17:08:18 +02:00
parent 76142c1264
commit 7c58880139
33 changed files with 55 additions and 80 deletions

View File

@@ -159,7 +159,7 @@ class SingleTaskRepository extends EntityRepository
. '`setAuthorizationHelper`');
}
$role = new Role(TaskVoter::SHOW);
$role = TaskVoter::SHOW;
$qb->join('st.person', 'p');
$centers = $this->authorizationHelper