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

Cannot enter into the public projects in the global search result page without login #6435

Closed
ywk253100 opened this issue Dec 5, 2018 · 12 comments

Comments

@ywk253100
Copy link
Contributor

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

@ywk253100 ywk253100 added kind/bug area/ui target/1.7.0 Work items that should be delivered in 1.7.0 timeframe. labels Dec 5, 2018
@zhoumeina
Copy link
Contributor

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

@zhoumeina zhoumeina assigned ninjadq and unassigned zhoumeina Dec 5, 2018
@ywk253100
Copy link
Contributor Author

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

@ninjadq
Copy link
Member

ninjadq commented Dec 7, 2018

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

@ninjadq ninjadq added 1.7.0-defer and removed defer-candidate target/1.7.0 Work items that should be delivered in 1.7.0 timeframe. labels Dec 17, 2018
@dnovvak
Copy link

dnovvak commented Jan 15, 2019

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.

@reasonerjt
Copy link
Contributor

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

@jwangyangls
Copy link
Contributor

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

@stale
Copy link

stale bot commented Feb 27, 2020

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.

@stale stale bot added the Stale label Feb 27, 2020
@reasonerjt reasonerjt removed the Stale label Mar 9, 2020
@kirbyzhou
Copy link

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

@reasonerjt reasonerjt removed the needs/triage triage issue before assigning label Jul 6, 2020
@reasonerjt
Copy link
Contributor

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

@stale
Copy link

stale bot commented Oct 4, 2020

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.

@stale stale bot added the Stale label Oct 4, 2020
@stale stale bot closed this as completed Nov 5, 2020
@stefanvangastel
Copy link

Could this get a reboot? Really need access to public projects for non-logged in users. Using LDAP/AD auth for specific groups so all other Guest / Anonymous users should be able to see public project contents.

@keremsan
Copy link

keremsan commented Oct 16, 2024

Hello
Any update on here? I'm only able to search public projects anonymously. not able to view repositories and artifacts.
and As I see, It's documented in here as it should be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests