Skip to content
Snippets Groups Projects

fix: able to modify a publication when it is in status IN_ERROR

Merged Alicia.DeDiosFuente requested to merge adf-enable-to-revision into master
All threads resolved!
@@ -193,7 +193,9 @@ public class PublicationPermissionService extends AbstractAdminPermissionService
}
private boolean isActionPermittedForCreator(AouControllerAction action) {
return action == AouControllerAction.SUBMIT_FOR_VALIDATION || this.isActionPermittedForCreatorAndContributorAndValidator(action);
return action == AouControllerAction.SUBMIT_FOR_VALIDATION
|| action == AouControllerAction.ENABLE_REVISION
|| this.isActionPermittedForCreatorAndContributorAndValidator(action);
}
private boolean isActionPermittedForContributor(AouControllerAction action) {
Loading