Affects Version/s: 2.3.1
Fix Version/s: 2.4.0
When doing 'Artifactory Release Promotion' with 'Include dependencies' on Maven job, and the user does not have the permission to move the dependency, an error of lack of permissions is shown. That is a normal behavior but the issue is when trying to run 'Artifactory Release Promotion' right after without the 'Include dependencies' than it fails with the same error of lacking permission to delete the dependency.
Scenario to reproduce:
1. Run a build.
2. Run Artifactory Release Staging.
3. Run Artifactory Release Promotion with Include dependencies checked when the dependency is deployed to a repository that the user does not have delete permission on.
4. Run Artifactory Release Promotion without checking the Include dependencies check box.
The permission error will appear.