Skip to content

Commit

Permalink
Added: Send email to all involved users after a publication has been …
Browse files Browse the repository at this point in the history
…uploaded
  • Loading branch information
djuarezgf committed Apr 15, 2024
1 parent cedc2c5 commit abe6baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Service exist invited users
- R-Studio Group Manager
- Email Sender: ALL_DEVELOP, ALL_PILOT, ALL_FINAL
- Send email to all involved users after a publication has been uploaded
1 change: 1 addition & 0 deletions src/main/java/de/samply/app/ProjectManagerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ public ResponseEntity<String> uploadOtherDocument(

@RoleConstraints(organisationRoles = {OrganisationRole.RESEARCHER, OrganisationRole.BRIDGEHEAD_ADMIN, OrganisationRole.PROJECT_MANAGER_ADMIN})
@StateConstraints(projectStates = {ProjectState.FINISHED})
@EmailSender(templateType = EmailTemplateType.NEW_PUBLICATION, recipients = {EmailRecipientType.PROJECT_ALL})
@FrontendSiteModule(site = ProjectManagerConst.PROJECT_VIEW_SITE, module = ProjectManagerConst.PROJECT_DOCUMENTS_MODULE)
@FrontendAction(action = ProjectManagerConst.UPLOAD_PUBLICATION_ACTION)
@PostMapping(value = ProjectManagerConst.UPLOAD_PUBLICATION)
Expand Down

0 comments on commit abe6baf

Please sign in to comment.