Skip to content

Commit

Permalink
feat: 创建项目时,增加是否创建本地权限参数 TencentBlueKing#879
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuwan committed Aug 2, 2023
1 parent d805705 commit 31a80f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ data class UserProjectCreateRequest(
@ApiModelProperty("显示名")
val displayName: String,
@ApiModelProperty("描述")
val description: String
val description: String,
@ApiModelProperty("创建本地权限")
val createPermission: Boolean = true
) : ProjectRequest
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class UserProjectController(
name = name,
displayName = displayName,
description = description,
operator = userId
operator = userId,
createPermission = createPermission
)
}
projectService.createProject(createRequest)
Expand Down

0 comments on commit 31a80f5

Please sign in to comment.