Skip to content

Allow users to create, configure and delete their own jobs#21

Merged
kohsuke merged 1 commit into
jenkinsci:masterfrom
alexrothenberg:users-create-jobs
Jul 3, 2014
Merged

Allow users to create, configure and delete their own jobs#21
kohsuke merged 1 commit into
jenkinsci:masterfrom
alexrothenberg:users-create-jobs

Conversation

@alexrothenberg
Copy link
Copy Markdown
Contributor

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.CREATE to so the "new job" menu item appears
  • Item.READ, Item.EXTENDED_READ and Item.CONFIGURE so the user can do an initial configuration of the new job
  • Item.DELETE if 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.

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.
@alexrothenberg
Copy link
Copy Markdown
Contributor Author

@skottler I promise this is the last thing I've been working on and I'll stop bombarding you with changes :)

@cloudbees-pull-request-builder
Copy link
Copy Markdown

plugins » github-oauth-plugin #34 SUCCESS
This pull request looks good

@jenkinsadmin
Copy link
Copy Markdown
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@kohsuke kohsuke merged commit e92a865 into jenkinsci:master Jul 3, 2014
kohsuke added a commit that referenced this pull request Jul 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants