Commit cbd19451 authored by Matija Obreza's avatar Matija Obreza

FIX: Remove permissions check, worker threads don't carry role

information
parent 7db48aa7
......@@ -343,7 +343,8 @@ public class GenesysServiceImpl implements GenesysService, TraitService {
}
@Override
@PreAuthorize("hasRole('ADMINISTRATOR')")
// Worker threads don't carry this information
//@PreAuthorize("hasRole('ADMINISTRATOR')")
@Transactional(readOnly = false)
public void saveSvalbards(List<SvalbardData> svalbards) {
svalbardRepository.save(svalbards);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment