From d99fcc3de80b0eb3ba54a48e1006a8ea8e263113 Mon Sep 17 00:00:00 2001 From: stubenhuang Date: Mon, 19 Dec 2022 12:04:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B5=81=E6=B0=B4=E7=BA=BF=E7=BB=84?= =?UTF-8?q?=E5=8F=8A=E6=B5=81=E6=B0=B4=E7=BA=BF=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20#7101?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops/process/service/view/PipelineViewGroupService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt index 33c7bc2047e..33984e7b797 100644 --- a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt +++ b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt @@ -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 { val views = pipelineViewDao.list(dslContext, userId, projectId, projected, viewType)