We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When a Researcher tries to abandon a negotiation, it gets a 403 forbidden response
How to reproduce
/negotiations/{id}/lifecycle/ABANDON
What happens The backend returns a 403 Forbidden response
What should happen The backend should return 204 No Content and the negotiation status should be updated
Notes The bug is related to the condition in the NegotiationController for methods sendEvent
sendEvent
if (!NegotiatorUserDetailsService.isCurrentlyAuthenticatedUserAdmin()) { throw new ResponseStatusException(HttpStatus.FORBIDDEN); }
Probably, also as Biobanker the user would get a 403 Forbidden
The text was updated successfully, but these errors were encountered:
RadovanTomik
No branches or pull requests
Describe the bug
When a Researcher tries to abandon a negotiation, it gets a 403 forbidden response
How to reproduce
/negotiations/{id}/lifecycle/ABANDON
)What happens
The backend returns a 403 Forbidden response
What should happen
The backend should return 204 No Content and the negotiation status should be updated
Notes
The bug is related to the condition in the NegotiationController for methods
sendEvent
Probably, also as Biobanker the user would get a 403 Forbidden
The text was updated successfully, but these errors were encountered: