You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently given a gateway URL like the following, jetbrains-gateway://connect#type=coder&workspace=other-workspace&owner=user-a&etc=...
the LinkHandler which gets executed has a missing edge case.
Mainly that you'll always fail to find the Workspaces unless you are the owner of the Workspace. This is due to not setting the CoderSettings.workspaceFilter before doing the client.workspaces() call. Which is problematic in a large scale organization where custom roles might be at play, and non-owners have access to a workspace.
The text was updated successfully, but these errors were encountered:
At the moment, if you want to access someone else's workspaces, you have to put their name in the workspace filter setting. Or you have to remove the filter, but this can be very, very slow.
I would like to remove this restriction/requirement altogether, but to do that we need wildcard host names first: coder/coder#14986
@code-asher, as we now have a wildcard host in coder config-ssh. Do you think the OP's issue is solved or solveable? @bcpeinhardt can you help here too? Thanks.
Currently given a gateway URL like the following,
jetbrains-gateway://connect#type=coder&workspace=other-workspace&owner=user-a&etc=...
the LinkHandler which gets executed has a missing edge case.
Mainly that you'll always fail to find the Workspaces unless you are the owner of the Workspace. This is due to not setting the
CoderSettings.workspaceFilter
before doing the client.workspaces() call. Which is problematic in a large scale organization where custom roles might be at play, and non-owners have access to a workspace.The text was updated successfully, but these errors were encountered: