SuccessChanges

Summary

  1. tsk57: Implements story creation and update in service layer (details)
Commit 57e126d1e56da70df0f5d9f9f410b9b49e70935e by devpablogg
tsk57: Implements story creation and update in service layer
This commit adds full support for creating and updating stories. It
introduces
`StoryCreateDto`, implements creation and update flows in
`StoryService`, and applies permission checks using the security role
caller for CREATOR actions. A new `UserService` is added to resolve the
current user. The `Story` entity now supports relaxed nullability for
drafts, immutability after publication, theme and text validations, and
a new `isComplete` method. The database schema is updated to match these
rules. The `StoryMapper` is adjusted for the updated entity constructor.
Comprehensive unit and integration tests verify creation, updating,
validation behavior, and authorization handling.
The file was modifiedadditional-material/db/microstories-mysql.full.sql
The file was modifieddomain/src/main/java/es/uvigo/esei/microstories/domain/entities/Story.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/util/security/CreatorRoleCaller.java
The file was addedservice/src/main/java/es/uvigo/esei/microstories/services/UserService.java
The file was modifieddomain/src/test/java/es/uvigo/esei/microstories/domain/entities/StoryTest.java
The file was addedservice/src/main/java/es/uvigo/esei/microstories/dtos/StoryCreateDto.java
The file was modifiedservice/src/test/java/es/uvigo/esei/microstories/services/StoryServiceIntegrationTest.java
The file was modifiedservice/src/main/java/es/uvigo/esei/microstories/services/StoryService.java
The file was modifiedtests/src/main/resources/datasets/stories.xml
The file was modifiedservice/src/main/java/es/uvigo/esei/microstories/mappers/StoryMapper.java
The file was modifiedadditional-material/db/microstories-mysql.creation.sql
The file was modifiedservice/src/test/resources/beans.xml