Registry phase 2 migration: Update /jwt/auth
Context
The context for this issue can be viewed in the epic &7316 (closed) and the breakdown of work can be viewed in this comment &7316 (comment 792633854).
/jwt/auth
Update endpoint: - Update the endpoint to reject JWT token requests for scopes
push
,delete
or*
if the container repository is inmigration_state: :importing
import
resource name to Auth service
Add See this thread for more details about the new scope.
- Add a new resource name
import
forregistry
resource access tokens to theContainerRegistryAuthenticationService
- Add a class method
import_access_token
that grants the import access similar to thefull_access_token
Edited by Steve Abrams