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).

Update endpoint: /jwt/auth

  • Update the endpoint to reject JWT token requests for scopes push, delete or * if the container repository is in migration_state: :importing

Add import resource name to Auth service

See this thread for more details about the new scope.

Edited by Steve Abrams