@@ -109,7 +109,7 @@ public class CronJobServiceImpl extends BaseEntityService implements CronJobServ
@Override
public CronJob getCronJob(Long id, User user) throws NotFoundException, UnAuthorizedException, ServerException {
CronJob cronJob = cronJobMapper.getById(id);
- return checkReadPermission(entity, cronJob.getProjectId(), user) == true ? cronJob : null;
+ return cronJob;
}
private CronJob getCronJob(Long id) {