Commit eb201a5
Include DEFAULT_AUTHENTICATION_CLASSES when token auth is disabled
When TOKEN_AUTH_DISABLED=True, ContainerRegistryApiMixin only used
RegistryAuthentication (Basic auth), ignoring any custom backends
configured in DEFAULT_AUTHENTICATION_CLASSES.
Now includes both RegistryAuthentication and all configured default
authentication classes, allowing deployments to use custom auth
backends alongside standard Basic auth for container registry
operations.
Fixes #2362
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 37ef477 commit eb201a5
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
233 | 238 | | |
234 | 239 | | |
235 | | - | |
| 240 | + | |
236 | 241 | | |
237 | 242 | | |
238 | 243 | | |
| |||
0 commit comments