Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26183

Broken docker push without annotate permissions behaviour

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 7.21.7
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None
    • Location:
      External

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bozaro Artem Navrotskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-26183 -
                SYNCHRONIZED
                • Last Sync Date: