mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 16:24:59 +00:00
Implements right "see confidential course" on method findByPerson
Add unit tests for that
This commit is contained in:
@@ -25,7 +25,8 @@ interface AuthorizationHelperForCurrentUserInterface
|
||||
public function getReachableCenters(string $role, ?Scope $scope = null): array;
|
||||
|
||||
/**
|
||||
* @param array|Center|Center[] $center
|
||||
* @param list<Center>|Center $center
|
||||
* @return list<Scope>
|
||||
*/
|
||||
public function getReachableScopes(string $role, $center): array;
|
||||
public function getReachableScopes(string $role, array|Center $center): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user