Harbor: Cannot enter into the public projects in the global search result page without login

Created on 5 Dec 2018  路  10Comments  路  Source: goharbor/harbor

Steps to reproduce the issue:

  1. Logout
  2. Global search "library"
  3. Click the "library" in the search result page

Expected: Enter into the project and get repository list
Got: Login page

areui kinbug prioritlow staled

All 10 comments

Because get current user api returns 401, and the routergateway helps to redirect to login page. @ninjadq , could you please take a look?

The same issue to the chart got in the search result page.

This is by design, I remember you said that user without logged in cannot visit any content is the right behavior @reasonerjt

Hello,
@reasonerjt Public projects from definition should be available without authentication I think. Compare DockerHUB approach.

Now I can see inconsistency between UI/REST and native registry interface. It is possible to pull images from public projects but it is impossible to view/search public projects in the UI/REST.

It would be great to have the issue fixed soon.

This is a bug from UI but we consider for private registry user the impact is low.
We're considering to change the design so even for public project user has to login to view.
We'll revisit it after v1.8.0

Requires a backend to provide a list of permissions without user login

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This feature is very useful for us.
Please fix it.

To fix this the permission API should return empty permission list rather than 401.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cten picture cten  路  3Comments

moooofly picture moooofly  路  3Comments

abououdine picture abououdine  路  3Comments

andrewtchin picture andrewtchin  路  3Comments

mramanathan picture mramanathan  路  3Comments