Merge branch 'RED-9280' into 'master'
RED-9280: added permission check for updateFlag endpoint Closes RED-9280 See merge request redactmanager/persistence-service!514
This commit is contained in:
commit
f4bdff1901
@ -487,7 +487,7 @@ public class DictionaryService {
|
|||||||
return MagicConverter.convert(colorsService.getColors(dossierTemplateId), Colors.class);
|
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) {
|
public void changeAddToDictionary(String type, String dossierTemplateId, String dossierId, boolean addToDictionary) {
|
||||||
|
|
||||||
var typeEntity = dictionaryPersistenceService.getType(toTypeId(type, dossierTemplateId, dossierId));
|
var typeEntity = dictionaryPersistenceService.getType(toTypeId(type, dossierTemplateId, dossierId));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user