kubesphere / kubesphere/ks-devops

The operator user who is not the designated auditor can still approve the pipeline

Open
#152 6 comments 0 reactions 1 assignee View on GitHub

@LinuxSuRen is already working on this.

Since Apr 2, 2021.

kind/bug
Dominant language
Go
Stars
164
Forks
140
PR merge metrics
No merged PRs in 30d

Description

Versions Used
KubeSphere: dev:latest

Environment
http://139.198.9.112:30883

Preset conditions
there is a user 'wx-02' with global role platform-regular, workspce role ws2-regular and devops project 'dev' role operator

How To Reproduce
Steps to reproduce the behavior:

  1. use admin login ks
  2. Go to workspace 'ws2'
  3. Go to devops project 'dev'
  4. run pipeline '6'
  5. use 'wx-02' login ks and approve the pipeline '6'
    jenkinsfile.txt

Expected behavior
user 'wx-02' can not approve pipeline '6'

Actual behavior
image

/priority medium
/area devops
/cc @kubesphere/sig-devops
/kind bug
/milestone 3.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.