-
Bug
-
Resolution: Done
-
Blocker
-
quay-v3.8.0
Description of problem:
Normal user be able to create organization by image pushing after FEATURE_RESTRICTED_USERS enabled
Version-Release number of selected component (if applicable):
'registry-proxy.engineering.redhat.com/rh-osbs/quay-quay-rhel8@sha256:d33899d766e7289ab898cb3e63ebb0b5e027e929d5489871745e36fb8ebf0bdd',
'registry-proxy.engineering.redhat.com/rh-osbs/quay-quay-rhel8:v3.8.0-86'
How reproducible:
Always
Steps to Reproduce:
1. Enable FEATURE_RESTRICTED_USERS
2. Login quay UI, create a normal excluded in whitelist
3. Push image to non-existing org, like:
$ skopeo copy --dest-creds=quay:password --dest-tls-verify=false docker://quay.io/projectquay/clair:4.4.4 docker://10.0.78.224:8443/quayio/clair:4.4.4
Actual results:
Pushing is failed, but succeed in creating org in UI
Expected results:
Shouldn't create org in UI
Additional info:
config.yaml:
AUTHENTICATION_TYPE: Database CREATE_NAMESPACE_ON_PUSH: true FEATURE_RESTRICTED_USERS: true RESTRICTED_USERS_WHITELIST: - user1
- links to
- mentioned on