diff --git a/src/frontend/devops-repository/src/views/repoConfig/index.vue b/src/frontend/devops-repository/src/views/repoConfig/index.vue index e30b7437a7..f90923eb1b 100644 --- a/src/frontend/devops-repository/src/views/repoConfig/index.vue +++ b/src/frontend/devops-repository/src/views/repoConfig/index.vue @@ -232,7 +232,7 @@ return ['maven', 'pypi', 'npm', 'composer', 'nuget'].includes(this.repoType) }, showCleanConfigTab () { - return ['docker', 'generic', 'helm'].includes(this.repoType) + return ['docker', 'generic', 'helm'].includes(this.repoType) && (this.userInfo.admin || this.userInfo.manage) }, showPermissionConfigTab () { return ['generic'].includes(this.repoType) && (this.userInfo.admin || this.userInfo.manage) && !(['pipeline', 'custom'].includes(this.repoName))