From b3c7b0c41505c90ae94709e9ca41ed0073ae47d7 Mon Sep 17 00:00:00 2001 From: greysonfang Date: Tue, 21 Nov 2023 10:27:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat=EF=BC=9A=E6=94=AF=E6=8C=81=E5=B0=86?= =?UTF-8?q?=E5=88=86=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98=E4=B8=8B=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=84=E6=88=90=E5=91=98=E5=8A=A0=E5=85=A5=E5=88=B0?= =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=84=E4=B8=AD=20#80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java | 7 ++++++- .../bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java | 7 ++++++- .../bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java | 9 +++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java index 09c5b2f..0412812 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java @@ -52,7 +52,7 @@ public class GradeManagerApplicationCreateDTO { private Boolean syncPerm; /** - * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 + * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 */ @JsonProperty("group_name") private String groupName; @@ -82,4 +82,9 @@ public class GradeManagerApplicationCreateDTO { * 透传到ITSM审批单的内容, 默认为空 * */ private ItsmContentDTO content; + /* + * 是否创建用户组的同步人员模版, 默认false + * */ + @JsonProperty("sync_subject_template") + private Boolean syncSubjectTemplate; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java index 2e7c0b1..71e1d2b 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java @@ -48,8 +48,13 @@ public class CreateManagerDTO { Boolean sync_perm; /** - * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 + * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 */ @JsonProperty("group_name") private String groupName; + /** + * 是否创建用户组的同步人员模版, 默认false + */ + @JsonProperty("sync_subject_template") + private Boolean syncSubjectTemplate; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java index 68012cf..cd82e34 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java @@ -23,8 +23,13 @@ public class ManagerRoleGroupDTO { List groups; /* - * 不传时默认为true,当迁移时,将该字段设置false,使得用户组可被管理 - * */ + * 不传时默认为true,当迁移时,将该字段设置false,使得用户组可被管理 + * */ @JsonProperty("create_attributes") Boolean createAttributes; + /* + * 是否创建用户组的同步人员模版, 默认false + * */ + @JsonProperty("sync_subject_template") + Boolean syncSubjectTemplate; } From 9c411add0b8033635363e298d293bb24b8c75a0d Mon Sep 17 00:00:00 2001 From: greysonfang Date: Tue, 21 Nov 2023 11:25:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat=EF=BC=9A=E6=94=AF=E6=8C=81=E5=B0=86?= =?UTF-8?q?=E5=88=86=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98=E4=B8=8B=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=84=E6=88=90=E5=91=98=E5=8A=A0=E5=85=A5=E5=88=B0?= =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=84=E4=B8=AD=20#80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 5d55c80..5ba92f7 100644 --- a/build.gradle +++ b/build.gradle @@ -32,7 +32,7 @@ ext { set('lombokVersion', '1.18.10') set("junitVersion", "5.4.2") - String iamVersion = (System.getProperty("iamVersion") ?: "1.0.40") + String iamVersion = (System.getProperty("iamVersion") ?: "1.0.41") if (System.getProperty("snapshot") == "true") { set('iamVersion', iamVersion + "-SNAPSHOT") } else {