docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
232 stars 40 forks source link

Hub UI fails with 102 or more teams #2141

Closed mikebrow closed 2 years ago

mikebrow commented 3 years ago

Problem description

There is a limit to the number of teams on one account that works with the docker hub web ui.

Once you go beyond that team limit any team that is alphabetically beyond the limit in the team list, can't be administrated in the repositories for which they are the admin.

When you go to a registry owned by that team the permission options for that repository show up as ".......... admin" instead of "team name admin". You can't add or remove any team name that is alphabetically beyond the artificial limit.

You can use the cli api to successfully add/remove/list the team permissions for a repository. Thus is is only a failing for the web ui.

Obviously there is a cache / size limit affecting the web ui.

for ibmcom.. the limit is passed for all teams ~> s...

mikeparker commented 3 years ago

Taking a look, thanks for the report. Any chance of any screenshots? Feel free to email them if you don't want them public, michael.parker [at] docker.com.

mikebrow commented 3 years ago
Screen Shot 2021-08-27 at 11 22 45 AM
mikebrow commented 3 years ago
Screen Shot 2021-08-27 at 11 27 06 AM
mikebrow commented 2 years ago

fails on the team number 102 ("powerai") works for team number 101... I'd guess someone is filtering on 0-100 (that or there's some default team in org and it's filtering on 1-100) checking your js code. scripts-main.* .. too much code obfuscation to easily see which fetch is responsible but if I had to take just one guess...

                        return e.props.fetchOrgTeams({
                            orgname: e.props.orgname,
                            page_size: 100
serjkarneichyk commented 2 years ago

We increased the fetch limit for teams.

mikebrow commented 2 years ago

Fix verified. Cheers.