kubesphere / kubesphere/ks-devops
The operator user who is not the designated auditor can still approve the pipeline
Open
@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:
- use admin login ks
- Go to workspace 'ws2'
- Go to devops project 'dev'
- run pipeline '6'
- use 'wx-02' login ks and approve the pipeline '6'
jenkinsfile.txt
Expected behavior
user 'wx-02' can not approve pipeline '6'
Actual behavior

/priority medium
/area devops
/cc @kubesphere/sig-devops
/kind bug
/milestone 3.1.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.