mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-17 15:55:26 +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> |
||
---|---|---|
.. | ||
apitests/python | ||
e2e-image | ||
resources | ||
robot-cases | ||
robot-indices | ||
testcases | ||
travis | ||
.gitignore | ||
ca.crt | ||
configharbor.py | ||
coverage4gotest.sh | ||
docker-compose.test.yml | ||
generateCerts.sh | ||
harbor_ca.crt | ||
harbor_ca.key | ||
harbor_ca.srl | ||
hostcfg.sh | ||
integration.sh | ||
ldap_test.ldif | ||
ldapprepare.sh | ||
notarytest.sh | ||
private_key.pem | ||
pushimage.sh | ||
reg_config.yml | ||
showtime.sh | ||
startuptest.sh | ||
swaggerchecker.sh | ||
testprepare.sh | ||
userlogintest.sh | ||
validatecontainers.sh |