Goal-Calibration/app/Text
Yisroel Baum acdf703d80
scope text endpoints by ownership
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.
2026-05-02 21:42:51 +03:00
..
UseCases pass user object to create text use case 2026-05-02 21:27:32 +03:00
CreateTextDto.php add user property to text entity 2026-05-02 21:27:28 +03:00
JsonTextRepository.php scope text endpoints by ownership 2026-05-02 21:42:51 +03:00
Text.php add user property to text entity 2026-05-02 21:27:28 +03:00
TextController.php scope text endpoints by ownership 2026-05-02 21:42:51 +03:00
TextRepository.php scope text endpoints by ownership 2026-05-02 21:42:51 +03:00