From c15add9cf1f67c853990ca3610fff258f18a1603 Mon Sep 17 00:00:00 2001 From: owenlxu Date: Mon, 17 Jun 2024 15:26:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=AA=E9=99=90=E5=88=B6=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90=20=20#2004?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bkrepo/auth/service/bkauth/DevopsPermissionServiceImpl.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/auth/biz-auth/src/main/kotlin/com/tencent/bkrepo/auth/service/bkauth/DevopsPermissionServiceImpl.kt b/src/backend/auth/biz-auth/src/main/kotlin/com/tencent/bkrepo/auth/service/bkauth/DevopsPermissionServiceImpl.kt index 169b3f7016..3cad080a95 100644 --- a/src/backend/auth/biz-auth/src/main/kotlin/com/tencent/bkrepo/auth/service/bkauth/DevopsPermissionServiceImpl.kt +++ b/src/backend/auth/biz-auth/src/main/kotlin/com/tencent/bkrepo/auth/service/bkauth/DevopsPermissionServiceImpl.kt @@ -191,6 +191,10 @@ class DevopsPermissionServiceImpl constructor( private fun checkRepoOrNodePermission(request: CheckPermissionRequest): Boolean { with(request) { + if (action == MANAGE.name) { + logger.debug("project request need manage permission [$request]") + return false + } when (repoName) { CUSTOM, LOG -> { return checkDevopsCustomPermission(request)