Package | Description |
---|---|
hudson | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.scm |
Hudson's interface with source code management systems.
|
hudson.security |
Security-related code.
|
hudson.slaves |
Code related to slaves.
|
hudson.util |
Other miscellaneous utility code
|
jenkins.management | |
jenkins.model | |
jenkins.slaves |
Modifier and Type | Field and Description |
---|---|
static Permission |
PluginManager.CONFIGURE_UPDATECENTER |
static Permission |
PluginManager.UPLOAD_PLUGINS |
Modifier and Type | Method and Description |
---|---|
static void |
Functions.adminCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
Object required,
Permission permission) |
static void |
Functions.checkPermission(AccessControlled object,
Permission permission) |
static void |
Functions.checkPermission(Object object,
Permission permission)
This version is so that the 'checkPermission' on layout.jelly
degrades gracefully if "it" is not an
AccessControlled object. |
static void |
Functions.checkPermission(Permission permission) |
static boolean |
Functions.hasPermission(Object object,
Permission permission)
This version is so that the 'hasPermission' can degrade gracefully
if "it" is not an
AccessControlled object. |
static boolean |
Functions.hasPermission(Permission permission)
Returns true if the current user has the given permission.
|
Modifier and Type | Field and Description |
---|---|
static Permission |
AbstractProject.ABORT
Deprecated.
Just use
Item.CANCEL . |
static Permission |
Run.ARTIFACTS
|
static Permission |
Computer.BUILD |
static Permission |
Item.BUILD |
static Permission |
Item.CANCEL |
static Permission |
View.CONFIGURE |
static Permission |
Computer.CONFIGURE |
static Permission |
Item.CONFIGURE |
static Permission |
Computer.CONNECT |
static Permission |
View.CREATE
Permission to create new views.
|
static Permission |
Computer.CREATE |
static Permission |
Item.CREATE |
static Permission |
View.DELETE |
static Permission |
Computer.DELETE |
static Permission |
Item.DELETE |
static Permission |
Run.DELETE |
static Permission |
Computer.DISCONNECT |
static Permission |
Item.DISCOVER |
static Permission |
Computer.EXTENDED_READ |
static Permission |
Item.EXTENDED_READ
Ability to view configuration details.
|
static Permission |
View.READ |
static Permission |
Item.READ |
static Permission |
Run.UPDATE |
static Permission |
Item.WIPEOUT |
static Permission |
Item.WORKSPACE |
Modifier and Type | Method and Description |
---|---|
static Permission |
View.getItemCreatePermission() |
protected abstract Permission |
TaskAction.getPermission()
Gets the permission object that represents the permission (against
TaskAction.getACL() ) to perform this task. |
Permission |
ManagementLink.getRequiredPermission() |
Modifier and Type | Method and Description |
---|---|
void |
View.checkPermission(Permission p) |
void |
Computer.checkPermission(Permission permission) |
void |
AbstractItem.checkPermission(Permission p)
Short for
getACL().checkPermission(p) |
void |
Node.checkPermission(Permission permission) |
void |
Run.checkPermission(Permission p) |
void |
MyViewsProperty.checkPermission(Permission permission) |
void |
User.checkPermission(Permission permission) |
boolean |
View.hasPermission(Permission p) |
boolean |
Computer.hasPermission(Permission permission) |
boolean |
AbstractItem.hasPermission(Permission p)
Short for
getACL().hasPermission(p) |
boolean |
Node.hasPermission(Permission permission) |
boolean |
Run.hasPermission(Permission p) |
boolean |
MyViewsProperty.hasPermission(Permission permission) |
boolean |
User.hasPermission(Permission permission) |
Modifier and Type | Field and Description |
---|---|
static Permission |
SCM.TAG
Permission to create new tags.
|
Modifier and Type | Method and Description |
---|---|
protected Permission |
AbstractScmTagAction.getPermission()
Defaults to
SCM.TAG . |
Modifier and Type | Field and Description |
---|---|
static Permission |
Permission.CONFIGURE
Generic configuration access.
|
static Permission |
Permission.CREATE
Generic create access.
|
static Permission |
Permission.DELETE
Generic delete access.
|
static Permission |
Permission.FULL_CONTROL
Deprecated.
since 2009-01-23.
Use
Jenkins.ADMINISTER . |
static Permission |
Permission.HUDSON_ADMINISTER
Deprecated.
since 2009-01-23.
Access
Jenkins.ADMINISTER instead. |
Permission |
Permission.impliedBy
Bundled
Permission that also implies this permission. |
Permission |
AccessDeniedException2.permission
This object represents the permission that the user needed.
|
Permission |
SparseACL.Entry.permission |
static Permission |
Permission.READ
Generic read access.
|
static Permission |
Permission.UPDATE
Generic update access.
|
static Permission |
Permission.WRITE
Generic write access.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Permission> |
Permission.ID_COMPARATOR
Comparator that orders
Permission objects based on their ID. |
Modifier and Type | Method and Description |
---|---|
Permission |
PermissionGroup.find(String name)
Finds a permission that has the given name.
|
static Permission |
Permission.fromId(String id)
Convert the ID representation into
Permission object. |
Permission |
GlobalSecurityConfiguration.getRequiredPermission() |
Modifier and Type | Method and Description |
---|---|
static List<Permission> |
Permission.getAll()
Returns all the
Permission s available in the system. |
List<Permission> |
PermissionGroup.getPermissions()
Lists up all the permissions in this group.
|
Iterator<Permission> |
PermissionGroup.iterator() |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
SidACL._hasPermission(org.acegisecurity.Authentication a,
Permission permission)
Implementation that backs up
SidACL.hasPermission(Authentication, Permission) . |
abstract boolean |
PermissionAdder.add(AuthorizationStrategy strategy,
User user,
Permission perm)
Called to try to give a user global permission.
|
void |
SparseACL.add(org.acegisecurity.acls.sid.Sid sid,
Permission permission,
boolean allowed) |
void |
ACL.checkPermission(Permission p)
Checks if the current security principal has this permission.
|
void |
HudsonPrivateSecurityRealm.checkPermission(Permission permission) |
void |
AccessControlled.checkPermission(Permission permission)
Convenient short-cut for
getACL().checkPermission(permission) |
abstract boolean |
ACL.hasPermission(org.acegisecurity.Authentication a,
Permission permission)
Checks if the given principle has the given permission.
|
boolean |
SidACL.hasPermission(org.acegisecurity.Authentication a,
Permission permission) |
boolean |
SparseACL.hasPermission(org.acegisecurity.Authentication a,
Permission permission) |
boolean |
ACL.hasPermission(Permission p)
Checks if the current security principal has this permission.
|
boolean |
HudsonPrivateSecurityRealm.hasPermission(Permission permission) |
boolean |
AccessControlled.hasPermission(Permission permission)
Convenient short-cut for
getACL().hasPermission(permission) |
protected abstract Boolean |
SidACL.hasPermission(org.acegisecurity.acls.sid.Sid p,
Permission permission)
Checks if the given
Sid has the given Permission . |
protected Boolean |
SparseACL.hasPermission(org.acegisecurity.acls.sid.Sid p,
Permission permission) |
Constructor and Description |
---|
AccessDeniedException2(org.acegisecurity.Authentication authentication,
Permission permission) |
AccessDeniedException2(Throwable t,
org.acegisecurity.Authentication authentication,
Permission permission) |
Entry(org.acegisecurity.acls.sid.Sid sid,
Permission permission,
boolean allowed) |
Permission(PermissionGroup group,
String name,
org.jvnet.localizer.Localizable description,
Permission impliedBy)
Deprecated.
|
Permission(PermissionGroup group,
String name,
org.jvnet.localizer.Localizable description,
Permission impliedBy,
boolean enable)
Deprecated.
|
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) |
Permission(PermissionGroup group,
String name,
Permission impliedBy)
Deprecated.
since 1.257.
Use
Permission(PermissionGroup, String, Localizable, Permission) |
Modifier and Type | Field and Description |
---|---|
static Permission |
Cloud.PROVISION
Permission constant to control mutation operations on
Cloud . |
Modifier and Type | Method and Description |
---|---|
void |
Cloud.checkPermission(Permission permission) |
boolean |
Cloud.hasPermission(Permission permission) |
Modifier and Type | Field and Description |
---|---|
static Permission |
FormFieldValidator.CHECK
Deprecated.
|
protected Permission |
FormFieldValidator.permission
Deprecated.
Permission to check, or null if this check doesn't require any permission.
|
Constructor and Description |
---|
FormFieldValidator(AccessControlled subject,
Permission permission)
Deprecated.
|
FormFieldValidator(Permission permission)
Deprecated.
|
FormFieldValidator(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
AccessControlled subject,
Permission permission)
Deprecated.
Use
FormFieldValidator.FormFieldValidator(AccessControlled,Permission) and remove StaplerRequest and StaplerResponse
from your "doCheck..." method parameter |
FormFieldValidator(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
Permission permission)
Deprecated.
Use
FormFieldValidator.FormFieldValidator(Permission) and remove StaplerRequest and StaplerResponse
from your "doCheck..." method parameter |
Modifier and Type | Method and Description |
---|---|
Permission |
ConsoleLink.getRequiredPermission() |
Modifier and Type | Field and Description |
---|---|
static Permission |
Jenkins.ADMINISTER |
static Permission |
Jenkins.READ |
static Permission |
Jenkins.RUN_SCRIPTS |
Modifier and Type | Method and Description |
---|---|
boolean |
Jenkins.MasterComputer.hasPermission(Permission permission) |
Constructor and Description |
---|
EncryptedSlaveAgentJnlpFile(AccessControlled it,
String viewName,
String slaveName,
Permission connectPermission) |
Copyright © 2019. All rights reserved.