mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 17:47:46 +01:00
5f8acc3896
When the registry shifts from token auth to basic auth, we'll use the middleware to check permission. This commit add middlewares for populate the artifact info and check permission based on request to /v2/* api via security context Signed-off-by: Daniel Jiang <jiangd@vmware.com> |
||
---|---|---|
.. | ||
python |