Skip to content

CAT-749 API call: admin publish assessment gets 403 when admin #439

New issue

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

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,21 @@ According to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) , the `Unr
- [#428](https://github.com/FC4E-CAT/fc4e-cat-api/pull/428) CAT-741 Motivation preview displays wrong json when add/remove elements in motivation
- [#429](https://github.com/FC4E-CAT/fc4e-cat-api/pull/429) CAT-744 Issue when actor- criteria vary betwen 2 motivations which are parent-child(cloned)
- [#431](https://github.com/FC4E-CAT/fc4e-cat-api/pull/431) CAT-745 C7 criterion fails due to wrong benchmark value

- [#439](https://github.com/FC4E-CAT/fc4e-cat-api/pull/439) CAT-749 API call: admin publish assessment gets 403 when admin


### Removed

- [#335](https://github.com/FC4E-CAT/fc4e-cat-api/pull/335) CAT-592 Delete All Motivations Except Specific Entries.
- [#335](https://github.com/FC4E-CAT/fc4e-cat-api/pull/335) CAT-592 Delete All Motivations Except Specific Entries.
- [#435](https://github.com/FC4E-CAT/fc4e-cat-api/pull/435) CAT-766 Update validation actors to PID Service Provider.
- [#436](https://github.com/FC4E-CAT/fc4e-cat-api/pull/436) CAT-767 Delete the PID Service(Component) from CAT.

## 1.8.1 - 2024-10-17
---

### Removed

- [#320](https://github.com/FC4E-CAT/fc4e-cat-api/pull/320) CAT-579 Remove criteria ordering logic based on unique names.
- [#435](https://github.com/FC4E-CAT/fc4e-cat-api/pull/435) CAT-766 Update validation actors to PID Service Provide
- [#436](https://github.com/FC4E-CAT/fc4e-cat-api/pull/436) CAT-767 Delete the PID Service(Component) from CAT.

## 1.8.0 - 2024-10-16
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ public Response publishAssessment(@Parameter(
schema = @Schema(type = SchemaType.STRING))
@Valid @NotFoundEntity(repository = MotivationAssessmentRepository.class, message = "There is no assessment with the following id:") String id) {

var message = assessmentService.managePublishAssessment(id,true);
var message = assessmentService.managePublishAssessmentByAdmin(id,true);
var response=new InformativeResponse();
response.code=200;
response.message=message;
Expand Down