Problem Description: If we update a group by adding a user in the UI that gives permissions to the conan repository, we then need to re-add the credentials to the conan client.
What is the impact: The build jobs will fail until the password/API-Key is re-entered.
What is the expected behavior: Updating the group should not remove credentials on conan client when the group is updated.
Steps to Reproduce:
- create conan-user, group and permission to deploy/resolve from Conan remote repository
- Add the remote to conan client and add authentication
conan remote add conan-remote http://jfrog-url.com/artifactory/api/conan/conan-remote
conan user --password API-Key --remote conan-remote conan-user
3. Download conan artifact in loop with the following conanfile.py:
from conan import ConanFile
from conan.tools.cmake import cmake_layout
class compressorRecipe(ConanFile):
# Binary configuration
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
def requirements(self):
self.requires("zlib/1.2.11")
while conan install . -r conan-remote; sleep 2s; conan remove zlib --force; do true; done
4. This will loop through the downloads and we can see as soon as we update the group by adding an additional user in the UI, we are then again prompted to add password
Please enter a password for "conan-user" account:.....
Environment Details: Artifactory 7.33 with psql
Possible Workaround: none