Skip to content

Commit

Permalink
Merge pull request #97 from justinharringa/patch-1
Browse files Browse the repository at this point in the history
Added ItemDiscover, ItemCancel, and ScmTag permissions to the Permissions enum
  • Loading branch information
daspilker committed Jan 24, 2014
2 parents 68fe7ed + 79287bf commit ac08dad
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
package javaposse.jobdsl.dsl.helpers

enum Permissions {
ItemConfigure('hudson.model.Item.Configure'),
ItemWorkspace('hudson.model.Item.Workspace'),
ItemDelete('hudson.model.Item.Delete'),
ItemBuild('hudson.model.Item.Build'),
ItemConfigure('hudson.model.Item.Configure'),
ItemRead('hudson.model.Item.Read'),
ItemDiscover('hudson.model.Item.Discover'),
ItemBuild('hudson.model.Item.Build'),
ItemWorkspace('hudson.model.Item.Workspace'),
ItemCancel('hudson.model.Item.Cancel'),
ItemRelease('hudson.model.Item.Release'),
ItemExtendedRead('hudson.model.Item.ExtendedRead'),
RunDelete('hudson.model.Run.Delete'),
RunUpdate('hudson.model.Run.Update')
RunUpdate('hudson.model.Run.Update'),
ScmTag('hudson.scm.SCM.Tag')

final String longForm
Permissions(String longForm) {
this.longForm = longForm
}
}
}

0 comments on commit ac08dad

Please sign in to comment.