-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Jenkins ver. 2.19.2
GitHub OAuth Plugin Version 0.25
There appears to be no option when using the Github Authentication Plugin Security Realm and the GitHub Committer Authorization Strategy Authorization to allow non-admins to cancel a scheduled, or abort a running, build.
This poses a problem where (in a large organization with thousands of builds) admins are constantly pinged if a build is stuck and needs to be forcibly aborted.
- relates to
-
JENKINS-33661 Plugin permissions not supported
-
- Closed
-
-
JENKINS-27844 Improve Use Github repository permissions
-
- Open
-
I agree with you on this sentiment. When I took over this plugin it has always been a part of it that has been sorely lacking. I plan to revamp the permissions and set them up so that a user can choose what permissions anybody gets in Jenkins based on their access in GitHub (think similar to the matrix-based authorization strategy).
For now, as a workaround. I highly recommend making use of the matrix-based authorization strategies. I personally use the Job DSL plugin and the project matrix-based authorization strategy in a large Jenkins installation (~600+ users with ~1300+ jobs). For now, that works for me. However, I agree that part of the GitHub authentication plugin needs some love.
I'll use this issue to track enhancing this feature.
See also https://wiki.jenkins-ci.org/display/JENKINS/GitHub+OAuth+Plugin#GitHubOAuthPlugin-MatrixbasedAuthorizationstrategy