What permissions controls visibility of "Query and Trigger Gerrit Patches"

3 views
Skip to first unread message

Matthew...@diamond.ac.uk

unread,
Apr 25, 2018, 9:40:22 AM4/25/18
to jenkins...@googlegroups.com

We’re using Jenkins v2.117 with the https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger plugin.

We also use the https://wiki.jenkins.io/display/JENKINS/Role+Strategy+Plugin plugin.

 

When I log in to Jenkins, I can see the "Query and Trigger Gerrit Patches" on the left side of the screen.

However, other people cannot see this useful option.

What permission do I need to set so that people can use the "Query and Trigger Gerrit Patches" facility?

Thanks

 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 

Matthew...@diamond.ac.uk

unread,
Apr 25, 2018, 11:36:03 AM4/25/18
to jenkins...@googlegroups.com
>> When I log in to Jenkins, I can see the "Query and Trigger Gerrit Patches" on the left side of the screen.
>> However, other people cannot see this useful option.
>> What permission do I need to set so that people can use the "Query and Trigger Gerrit Patches" facility?

To answer my own question, it looks like you need Jenkins ADMINISTER privileges.
See:  https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/PluginImpl.java#L91

I opened https://issues.jenkins-ci.org/browse/JENKINS-51003 to see if I get this changed.

Matthew
Reply all
Reply to author
Forward
0 new messages