TextRepository gains findByUser; JsonTextRepository and the fake implement filtering by stored userId. TextController splits the list endpoint into getMyTexts (own) and getAllTexts (admin), and getText now requires the session user, returning 403 to non-owners while admins bypass. |
||
|---|---|---|
| .. | ||
| UseCases | ||
| CreateTextDto.php | ||
| JsonTextRepository.php | ||
| Text.php | ||
| TextController.php | ||
| TextRepository.php | ||