Skip to content
Snippets Groups Projects

feat: two types for comments and adapted permission service

Merged Alicia.DeDiosFuente requested to merge adf-250-comments-for-validator-only into master
All threads resolved!
Files
5
@@ -237,6 +237,7 @@ public class PublicationController extends AouResourceController<Publication> {
comment.setPerson(currentPerson);
comment.setPublication(item);
comment.setText(statusMessage);
comment.setOnlyForValidators(false);
comment.getCreation().setWho(authentication.getName());
comment.getLastUpdate().setWho(authentication.getName());
item.getComments().add(comment);
Loading