-
Bug
-
Resolution: Done
-
Major
-
3.19.0.GA
-
False
-
-
False
-
Release Notes
-
-
Known Issue
-
Done
-
-
Description of problem:
Workaround
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Install Dev Spaces 3.19.0.RC-19
- Open Dev Spaces page in browser and log into User Dashboard as non-admin user and create few workspaces
- On a local laptop log into OpenShift instance with Dev Spaces as non-admin user
- Open JetBrains Gateway, connect to the Dev Spaces instance and fetch list of workspaces (see documentation https://eclipse.dev/che/docs/stable/end-user-guide/idea-ultimate/)
Actual results:
There was no workspaces shown in the JetBrains Gateway
Expected results:
JetBrains Gateway shows list of non-admin user workspaces
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
idea.log
2025-02-27 19:27:09,366 [ 325517] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.SdkEntity to files 2025-02-27 19:27:09,367 [ 325518] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files 2025-02-27 19:27:11,887 [ 328038] INFO - STDERR - Exception in thread "Thread-55" io.kubernetes.client.openapi.ApiException: 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at io.kubernetes.client.openapi.ApiClient.handleResponse(ApiClient.java:973) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at io.kubernetes.client.openapi.ApiClient.execute(ApiClient.java:885) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at io.kubernetes.client.openapi.apis.CustomObjectsApi.listNamespacedCustomObjectWithHttpInfo(CustomObjectsApi.java:4312) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at io.kubernetes.client.openapi.apis.CustomObjectsApi.listNamespacedCustomObject(CustomObjectsApi.java:4185) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at com.redhat.devtools.gateway.openshift.DevWorkspaces.list(DevWorkspaces.kt:35) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at com.redhat.devtools.gateway.view.steps.DevSpacesRemoteServerConnectionStepView.doRefreshAllDevWorkspaces(DevSpacesRemoteServerConnectionStepView.kt:139) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at com.redhat.devtools.gateway.view.steps.DevSpacesRemoteServerConnectionStepView.refreshAllDevWorkspaces$lambda$10(DevSpacesRemoteServerConnectionStepView.kt:112) 2025-02-27 19:27:11,888 [ 328039] INFO - STDERR - at java.base/java.lang.Thread.run(Thread.java:1583)
$ oc get pods -A Error from server (Forbidden): pods is forbidden: User "****" cannot list resource "pods" in API group "" at the cluster scope
It was affected DevSandbox.
- relates to
-
CRW-9261 [RN] Non-admin users can't fetch list of workspaces with the JetBrains Gateway plugin
-
- Resolved
-
- links to