Return configuration on /v6/config
dweber019 opened this issue · comments
Description
Version**: 2.5.5
The endpoints /ccompat/v6 and v7 regarding GET /config should behave correctly when using authorization.
Currently when the setting REGISTRY_AUTH_ANONYMOUS_READ_ACCESS_ENABLED is set to true, one receives a 401 for GET /config which should not be the case.
Steps to Reproduce
- Enable AUTH_ENABLED=true and ROLE_BASED_AUTHZ_ENABLED=true
- Enable REGISTRY_AUTH_ANONYMOUS_READ_ACCESS_ENABLED=true
- Call registry with GET /ccompat/v6/config
- You get 401
Expected vs Actual Behaviour
Should return something like
{
"compatibilityLevel": "BACKWARD"
}
Thank you for reporting an issue!
Pinging @jsenko to respond or triage.