-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Container packages ignore REQUIRE_SIGNIN_VIEW
#28875
Comments
It does not ignore that flag: gitea/modules/context/package.go Lines 95 to 98 in 1df06e3
Did you perform a docker logout? |
Hi @KN4CK3R, please check this snapshot: Or am I missing something and the login information can be stored somewhere else? |
No, my bad... The container registry uses the internal ghost user for anonymous requests and the ghost user is not |
Fixed in #28877. Thank you for the report. |
…o-gitea#28877) Fixes go-gitea#28875 If `RequireSignInView` is enabled, the ghost user has no access rights.
…o-gitea#28877) Fixes go-gitea#28875 If `RequireSignInView` is enabled, the ghost user has no access rights.
… REQUIRE_SIGNIN_VIEW is set The issue got fixed in 1.21, but we still have 1.20 on 23.11. See go-gitea/gitea#28875 / go-gitea/gitea#28875
…o-gitea#28877) Fixes go-gitea#28875 If `RequireSignInView` is enabled, the ghost user has no access rights.
Automatically locked because of our CONTRIBUTING guidelines |
Description
Our site has enabled
REQUIRE_SIGNIN_VIEW
, however, we can stilldocker pull
a public image.This problem had been reported in #20863 and #20873 seemed to have fixed this for other types of package, but not for container.
Gitea Version
1.21.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: