Package org.jvnet.hudson.test
Class MockAuthorizationStrategy.Grant
java.lang.Object
org.jvnet.hudson.test.MockAuthorizationStrategy.Grant
- Enclosing class:
- MockAuthorizationStrategy
A grant of a set of permissions.
You must proceed to specify where they should be granted.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA grant of some permissions in certain places. -
Method Summary
-
Method Details
-
everywhere
Everywhere in Jenkins. -
onRoot
OnJenkinsitself, but not any child objects. -
onItems
On some items such as jobs. If some of these happen to beItemGroups, the grant is not applied to children. -
onFolders
On some item groups, typically folders. The grant applies to the folder itself as well as any (direct or indirect) children. -
onPaths
On some item path expressions. Each element is an implicitly rooted regular expression.Jenkinsitself is"", a top-level job would be"jobname", a nested job would be"folder/jobname", etc. Grants are not implicitly applied to child objects.
-