Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
AoU-Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AoU
AoU-Backend
Merge requests
!806
fix(deposit): [AOU-1687] display "send back for validation" button for validators
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix(deposit): [AOU-1687] display "send back for validation" button for validators
fpo/1687_display-send-back-for-validation-for-validators
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Florent Poittevin
requested to merge
fpo/1687_display-send-back-for-validation-for-validators
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
https://issues.unige.ch/browse/AOU-1687
Needed for
aou-portal!559 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
75d21e80
1 commit,
1 year ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
AoU-Admin/src/main/java/ch/unige/aou/controller/admin/PublicationController.java
+
1
−
1
Options
@@ -357,8 +357,8 @@ public class PublicationController extends ResourceWithFileController<Publicatio
}
}
@AdminPermissions
@PostMapping
(
SolidifyConstants
.
URL_ID_PLUS_SEP
+
AouActionName
.
SEND_BACK_FOR_VALIDATION
)
@PreAuthorize
(
"@publicationPermissionService.isAllowed(#id, 'SEND_BACK_FOR_VALIDATION')"
)
public
HttpEntity
<
Result
>
sendBackForValidation
(
@PathVariable
String
id
)
{
Publication
publication
=
this
.
itemService
.
findOne
(
id
);
if
(
this
.
historyService
.
hasBeenCompleted
(
publication
.
getResId
()))
{
Loading