rollback isMyTask
This commit is contained in:
+3
-3
@@ -212,9 +212,9 @@ public class ProcessHandleServiceImpl implements IProcessHandleService {
|
||||
if (Objects.isNull(task)) {
|
||||
throw new JeroBootException(ResultCommon.NO_CORRESPONDING_DATA_FOUND);
|
||||
}
|
||||
//if (!CurrentUserUtil.getId().equals(task.getAssignee())) {
|
||||
// throw new JeroBootException(ResultCommon.NO_PERMISSION);
|
||||
//}
|
||||
if (!CurrentUserUtil.getId().equals(task.getAssignee())) {
|
||||
throw new JeroBootException(ResultCommon.NO_PERMISSION);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user