all registered users can perform validations

This commit is contained in:
Konstantinos Spyrou 2022-11-24 18:33:21 +02:00
parent c09cbbbcc0
commit 33d28cefc1
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class ValidatorServiceImpl implements ValidatorService {
} }
@Override @Override
@PreAuthorize("hasAuthority('REGISTERED_USER') and @authorizationService.isMemberOf(#jobForValidation.datasourceId)") @PreAuthorize("hasAuthority('REGISTERED_USER')")
public JobForValidation submitJobForValidation(JobForValidation jobForValidation) throws ValidatorServiceException { public JobForValidation submitJobForValidation(JobForValidation jobForValidation) throws ValidatorServiceException {
LOGGER.debug("Submit job for validation with id : " + jobForValidation.getDatasourceId()); LOGGER.debug("Submit job for validation with id : " + jobForValidation.getDatasourceId());
try { try {