When user without project and Devops project permissions visit the workspace overview page, an error message is reported.
Created by: wenxin-01
Versions used(KubeSphere/Kubernetes)
KubeSphere: dev:latest
Preset conditions 1、there is a workspace 'wx-ws1' 2、there is a user 'test' with global role 'platform-regular' , with workspace 'wx-ws1' role 'Access Control' and without 'project' and 'Devops project' permissions
To Reproduce Steps to reproduce the behavior:
- use account 'test' log in KS
- go to workspace 'wx-ws1'
- click on 'wx-ws1'
- select workspace 'wx-ws1'
Expected behavior Cannot enter the overview page of enterprise space or no error information after entered.
Actual behavior
/kind bug /assign @leoendless /milestone 3.1.0 /priority medium