forked from TencentBlueKing/bk-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:支持管理员查看项目成员 TencentBlueKing#9620
- Loading branch information
Showing
15 changed files
with
426 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...e/auth/api-auth/src/main/kotlin/com/tencent/devops/auth/pojo/dto/ListGroupConditionDTO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.tencent.devops.auth.pojo.dto | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
@Schema(title = "获取用户组列表条件") | ||
data class ListGroupConditionDTO( | ||
@get:Schema(title = "项目ID") | ||
val projectId: String, | ||
@get:Schema(title = "资源类型") | ||
val resourceType: String, | ||
@get:Schema(title = "资源CODE") | ||
val resourceCode: String, | ||
@get:Schema(title = "是否获取项目成员组,该字段仅在resourceType为project时生效") | ||
val getAllProjectMemberGroup: Boolean = false, | ||
@get:Schema(title = "页数") | ||
val page: Int, | ||
@get:Schema(title = "页大小") | ||
val pageSize: Int | ||
) |
11 changes: 11 additions & 0 deletions
11
...re/auth/api-auth/src/main/kotlin/com/tencent/devops/auth/pojo/vo/ResourceMemberCountVO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.tencent.devops.auth.pojo.vo | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
@Schema(title = "资源成员数量") | ||
data class ResourceMemberCountVO( | ||
@get:Schema(title = "用户组人数") | ||
val userCount: Int, | ||
@get:Schema(title = "用户组部门数") | ||
val departmentCount: Int | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.