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

A Conan repository's copy command outputs error if user does not have delete/overwrite permissions

    XMLWordPrintable

    Details

    • Severity:
      Low

      Description

      Problem description:

       

      A user does not have delete/overwrite permission to the repository they wish to copy to. When they issue a copy command from one Conan repository to the other they get an error message for the index.json file even if the file did not exist in the other repository's location.

       

      What is the expected behavior?

      The expected behavior is to be able to successfully (without error msg) copy/promote from one Conan repository to the other without delete/overwrite permission if the files do not already exist. 

       

      Steps to reproduce: 

      1. Create two Conan local repositories. (i.e. conan-local1 and conan-local2)
      2. Create a user without delete/overwrite permissions to these repositories
      3. Generate and Upload a Conan package to the first Conan repository.
      4. Try a copy command of that package from the first repository to the second repository.
      5. Observe the User doesn't have permissions to override/Needs delete permissions error that results.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            derekp Derek Pang
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

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