RED-9280: added permission check for updateFlag endpoint #514

Merged
ali.oezyetimoglu1 merged 1 commits from RED-9280 into master 2024-06-03 12:17:51 +02:00

View File

@ -487,7 +487,7 @@ public class DictionaryService {
return MagicConverter.convert(colorsService.getColors(dossierTemplateId), Colors.class);
}
@PreAuthorize("hasAuthority('" + ADD_UPDATE_DICTIONARY_TYPE + "')")
public void changeAddToDictionary(String type, String dossierTemplateId, String dossierId, boolean addToDictionary) {
var typeEntity = dictionaryPersistenceService.getType(toTypeId(type, dossierTemplateId, dossierId));