Skip to content

Commit

Permalink
feat:流水线列表展示权限控制 #10895
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Oct 29, 2024
1 parent 32e4349 commit a55c654
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
package com.tencent.devops.project.pojo

import com.tencent.devops.common.api.pojo.PipelineAsCodeSettings
import com.tencent.devops.project.pojo.enums.PluginDetailsDisplayOrder
import io.swagger.v3.oas.annotations.media.Schema

@Schema(title = "项目其他配置")
Expand All @@ -51,5 +52,11 @@ data class ProjectProperties(
@get:Schema(title = "该项目是否开启流水线可观测数据", required = false)
val buildMetrics: Boolean? = null,
@get:Schema(title = "是否控制流水线列表权限", required = false)
var pipelineListPermissionControl: Boolean? = null
var pipelineListPermissionControl: Boolean? = null,
@get:Schema(title = "插件详情展示顺序", required = false)
var pluginDetailsDisplayOrder: List<PluginDetailsDisplayOrder>? = listOf(
PluginDetailsDisplayOrder.LOG,
PluginDetailsDisplayOrder.ARTIFACT,
PluginDetailsDisplayOrder.CONFIG
)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.tencent.devops.project.pojo.enums

enum class PluginDetailsDisplayOrder {
LOG,
ARTIFACT,
CONFIG
}

0 comments on commit a55c654

Please sign in to comment.