class SelectEntityService {

    public ValidatorChain validatePermision(LoginUser user, TaskSql taskSql, Errors errors) {
        return ValidatorChain.newInstance().controllerValidate(errors)
                .addAssert(() -> this.validatePermision(taskSql.getProject_id(), user.getId()), message.permisson_user_crud);
    }

}