class GroupMemberService {

    public ValidatorChain validatePermisionAdd(LoginUser user, UserGroup userGroup, Errors errors) throws SQLException {
        return ValidatorChain.newInstance().controllerValidate(errors)
                .addAssert(() -> this.validateUserOptUserPermisionInGroup(user, userGroup), "你没有当前DAS Team的组员操作权限.");
    }

}