Modify and remove users from jobs using project-based security

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

Modify and remove users from jobs using project-based security

Ed Mangual
Hello everyone.

I am trying to find or write a groovy script (not very good at it btw) that I can use to modify the permissions of an existing user (e.g Build, Cancel,Discover,Read) in a Job configured with project-based security. I also want to be able to remove a user completely from the job. I have searched google, but unable to find a good example that suits my needs. 

The Cloudbees folder plugin is being used  to organize jobs based on the products we support.

I would appreciate if anyone could provide some help.

Thanks in advance,

Ed

--
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/3ff24fe7-5e8b-44a7-bc98-52e6d41e057c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.