Closed quantranhong1999 closed 1 month ago
Upon user deletion, related PublicAsset(s) should be cleaned.
Upon username change, related PublicAsset(s) should be migrated.
UsernameChangeTaskStep
DeleteUserDataTaskStep
Unit tests + integration tests (for guice binding) Notice to Guice binding for postgres-app as well.
Nice catch, was missing
Skip username change migration for public asset cf https://github.com/linagora/james-project-private/pull/810#discussion_r1607978710
pr https://github.com/linagora/tmail-backend/pull/1065
Why
Upon user deletion, related PublicAsset(s) should be cleaned.
Upon username change, related PublicAsset(s) should be migrated.
How
UsernameChangeTaskStep
andDeleteUserDataTaskStep
DoD
Unit tests + integration tests (for guice binding) Notice to Guice binding for postgres-app as well.