Skip to content

Commit

Permalink
feat: 流水线组及流水线列表页优化 TencentBlueKing#7101
Browse files Browse the repository at this point in the history
  • Loading branch information
stubenhuang committed Dec 19, 2022
1 parent 4ffa0fe commit d99fcc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ class PipelineViewGroupService @Autowired constructor(

fun hasPermission(userId: String, projectId: String) =
client.get(ServiceProjectAuthResource::class)
.checkManager(clientTokenService.getSystemToken(userId)!!, userId, projectId).data ?: false
.checkManager(clientTokenService.getSystemToken(null)!!, userId, projectId).data ?: false

fun listView(userId: String, projectId: String, projected: Boolean?, viewType: Int?): List<PipelineNewViewSummary> {
val views = pipelineViewDao.list(dslContext, userId, projectId, projected, viewType)
Expand Down

0 comments on commit d99fcc3

Please sign in to comment.