Allow users to create, configure and delete their own jobs#21
Merged
Conversation
Configuration setting for admins to enable/disable "Allow Authenticated to CREATE new jobs" When enabled authenticated users can CREATE new jobs & then configure jobs to setup the repository so regular repository level authorization takes effect.
Contributor
Author
|
@skottler I promise this is the last thing I've been working on and I'll stop bombarding you with changes :) |
|
plugins » github-oauth-plugin #34 SUCCESS |
Member
|
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow admins to setup a jenkins server in a way that lets them avoid becoming the bottleneck to a large development team. Each user is able to create their own jobs and once the job is created the regular authorization rules apply (this works well in combination when repository permissions are enabled). Users can create a new project, configure it with a github url they have rights to, then the repository permissions take over.
The admin page contains a new option "Allow Authenticated to CREATE new jobs". Several different permissions are required to create a new job & do an initial configuration
Item.CREATEto so the "new job" menu item appearsItem.READ,Item.EXTENDED_READandItem.CONFIGUREso the user can do an initial configuration of the new jobItem.DELETEif users can create their own jobs it seems reasonable that they can delete them too.When enabled authenticated users can CREATE new jobs & then configure jobs to setup the repository so
regular repository level authorization takes effect.