CopyArtifact plugin: permissions: unable to restrict copy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CopyArtifact plugin: permissions: unable to restrict copy

Roel van Meer
Hi,

This is a question about the 'Permission to Copy Artifact' setting of the  
CopyArtifact plugin.

I have two freestyle projects, A and B. Project B copies artifacts from A.  
This works. If, on project A, I enable the 'Permission to Copy Artifact'  
setting, and configure 'Projects to allow copy artifacts' as "not-B" (or any  
other existing project name that is not B), then it is still possible for B  
to copy A's artifacts.

I would expect the above configuration to result in B not being allowed to  
copy A's artifacts.

Could anyone tell me if my expectations are incorrect, or if I need  
additional configuration to make this work?

This is with Jenkins 2.235.1 and CopyArtifact 1.45, but I've had this  
problem also with earlier versions. Not sure if it matters, but I'm using  
the 'Logged-in users can do anything' authorization strategy.

Thanks for your time,

Roel

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cone.1594023415.657929.1342.1000%40bork.lsof.org.