Package | Description |
---|---|
hudson.security |
Security-related code.
|
Modifier and Type | Field and Description |
---|---|
static PermissionScope |
PermissionScope.COMPUTER
|
static PermissionScope |
PermissionScope.ITEM
|
static PermissionScope |
PermissionScope.ITEM_GROUP
Permissions scoped to containers of
Item s. |
static PermissionScope |
PermissionScope.JENKINS
Permissions scoped to the entire Jenkins instance.
|
static PermissionScope |
PermissionScope.RUN
|
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionGroup.hasPermissionContainedBy(PermissionScope scope) |
boolean |
PermissionScope.isContainedBy(PermissionScope s)
Returns true if this scope is directly or indirectly contained by the given scope.
|
boolean |
Permission.isContainedBy(PermissionScope s)
Checks if this permission is contained in the specified scope, (either directly or indirectly.)
|
Constructor and Description |
---|
Permission(PermissionGroup group,
String name,
org.jvnet.localizer.Localizable description,
Permission impliedBy,
boolean enable,
PermissionScope[] scopes)
Defines a new permission.
|
Permission(PermissionGroup group,
String name,
org.jvnet.localizer.Localizable description,
Permission impliedBy,
PermissionScope scope) |
PermissionScope(Class<? extends ModelObject> modelClass,
PermissionScope... containers) |
Copyright © 2004–2021. All rights reserved.