-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend): Fix submitter of revoked sequences to be the revoker (#…
…3246) * (CoPilot generated attempt) Fix submitter of revoked sequences to be the revoker Fixes #3244 Update the submitter of a revoked sequence to the revoker * Modify `backend/src/main/kotlin/org/loculus/backend/service/submission/SubmissionDatabaseService.kt` to set the `submitterColumn` to the revoker's account during the revocation process * Change the `revoke` function to use the revoker's username for the `submitterColumn` instead of cloning the old submitter information --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/loculus-project/loculus/issues/3244?shareId=XXXX-XXXX-XXXX-XXXX). * Add test for #3244 (#3248) * Assert some more things that we don't seem to so far to avoid similar errors from happening in future * fix tests --------- Co-authored-by: Cornelius Roemer <[email protected]>
- Loading branch information
1 parent
04e661b
commit a2907ce
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters