Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see team or organization repositories/images #2954

Closed
lkupkepear opened this issue May 19, 2021 · 5 comments · Fixed by #3114
Closed

Unable to see team or organization repositories/images #2954

lkupkepear opened this issue May 19, 2021 · 5 comments · Fixed by #3114

Comments

@lkupkepear
Copy link

Issue Type: Bug

Have a dockerhub organization and team. Add a docker user to the docker team. Once connected, open vscode with the docker extension. The login as the user that was added to the team. No organization line item displays in the registry details menu bar.

Extension version: 1.12.1
VS Code version: Code 1.56.1 (e713fe9b05fc24facbec8f34fb1017133858842b, 2021-05-06T10:08:24.325Z)
OS version: Darwin x64 19.6.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 4
Memory (System) 32.00GB (0.67GB free)
Process Argv -psn_0_8316910 --crash-reporter-id 4e8de503-5652-4159-bdd7-96bd91724fa4
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30291415
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2:30301612
vscorehovct:30302760
bridgeflightcf:30302070
vscod805cf:30301675

@lkupkepear lkupkepear changed the title Unable to see team or organization Unable to see team or organization repositories/images May 19, 2021
@karolz-ms karolz-ms added the bug label May 20, 2021
@karolz-ms
Copy link
Contributor

@lkupkepear thank you for bringing this problem to our attention. I can reproduce.

@karolz-ms karolz-ms added this to the 1.14.0 milestone May 26, 2021
@karolz-ms karolz-ms modified the milestones: 1.14.0, 1.15.0 Jun 3, 2021
@dbreshears dbreshears added the P1 label Jun 23, 2021
@karolz-ms karolz-ms self-assigned this Jun 28, 2021
@karolz-ms
Copy link
Contributor

For whatever reason the v2/repositories/namespaces query issued by VS Code only returns namespaces associated with the Docker Hub login. The same query used by the Docker Hub site UI returns both namespaces associated with the login, as well as namespaces owned by all organizations that the user belongs to.

Following up with Docker to figure out why the discrepancy...

@karolz-ms
Copy link
Contributor

@nebuk89 @gtardif any idea why v2/repositories/namespaces query would skip organizational namespaces? LMK if there is a better repository to raise this question/open an issue--thanks!

@bwateratmsft
Copy link
Contributor

bwateratmsft commented Aug 4, 2021

Looks like we'll need to call /v2/user/orgs and dedupe-merge orgs from into namespaces. From my testing, orgs do show in the /v2/repositories/namespaces query, but only if the requesting user is an owner in that org.

@bwateratmsft
Copy link
Contributor

A fix for this has been released in Docker extension version 1.16.0.

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants