-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 7.21.7
-
Fix Version/s: None
-
Component/s: Docker
-
Labels:None
-
Location:External
In a situation where the user has "write" permissions but does not have "annotate" permissions, the docker push operation completes without errors, but the information about the docker LABELs does not get into the `manifest.json` properties.
At least after that Artifactory cannot show information about this docker image in the UI.
In logs we got error like:
2021-07-26T09:56:54.448Z [jfrt ] [ERROR] [3d60a5f4dba4d440] [.a.p.PropertiesServiceImpl:297] [ttp-nio-8081-exec-35] - Cannot set 'Properties' on 'recom-docker:joom-factor-service/uploads/sha256_443c700a64d29d22f0d6547440da0e6efab8770015a97457e5becd8c4f16878f': lacking annotate permissions.
Expected behaviour
I expect one of two behaviors:
- docker push failed and image is not created without both "write" and "annotate" permissions;
- "write" permission is enought to push image with automatic properties generated from docker LABELs.