|
@@ -268,7 +268,7 @@ public class CronJobServiceImpl extends BaseEntityService implements CronJobServ
|
|
|
@Transactional
|
|
|
public CronJob startCronJob(Long id, User user) throws NotFoundException, UnAuthorizedException, ServerException {
|
|
|
CronJob cronJob = getCronJob(id);
|
|
|
-// checkWritePermission(entity, cronJob.getProjectId(), user, "start");
|
|
|
+ checkWritePermission(entity, cronJob.getProjectId(), user, "start");
|
|
|
|
|
|
try {
|
|
|
quartzHandler.addJob(cronJob);
|