Uses of Class
hudson.security.Permission
Packages that use Permission
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Jenkins's interface with source code management systems.
Security-related code.
Code related to agents.
Other miscellaneous utility code
-
Uses of Permission in hudson
Fields in hudson declared as PermissionModifier and TypeFieldDescriptionstatic final Permission
PluginManager.CONFIGURE_UPDATECENTER
Deprecated.static final Permission
PluginManager.UPLOAD_PLUGINS
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTER
insteadMethods in hudson that return PermissionMethods in hudson with parameters of type PermissionModifier and TypeMethodDescriptionstatic void
Functions.adminCheck
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object required, Permission permission) static void
Functions.adminCheck
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object required, Permission permission) static void
Functions.checkAnyPermission
(AccessControlled ac, Permission[] permissions) Checks if the current security principal has one of the supplied permissions.static void
Functions.checkAnyPermission
(Object object, Permission[] permissions) This version is so that the 'checkAnyPermission' onlayout.jelly
degrades gracefully if "it" is not anAccessControlled
object.static void
Functions.checkPermission
(AccessControlled object, Permission permission) static void
Functions.checkPermission
(Permission permission) static void
Functions.checkPermission
(Object object, Permission permission) This version is so that the 'checkPermission' onlayout.jelly
degrades gracefully if "it" is not anAccessControlled
object.static boolean
Functions.hasAnyPermission
(AccessControlled ac, Permission[] permissions) Checks if the current security principal has one of the supplied permissions.static boolean
Functions.hasAnyPermission
(Object object, Permission[] permissions) This version is so that the 'hasAnyPermission' degrades gracefully if "it" is not anAccessControlled
object.static boolean
Functions.hasPermission
(Permission permission) Returns true if the current user has the given permission.static boolean
Functions.hasPermission
(Object object, Permission permission) This version is so that the 'hasPermission' can degrade gracefully if "it" is not anAccessControlled
object. -
Uses of Permission in hudson.diagnosis
Methods in hudson.diagnosis that return PermissionModifier and TypeMethodDescriptionReverseProxySetupMonitor.getRequiredPermission()
TooManyJobsButNoView.getRequiredPermission()
-
Uses of Permission in hudson.model
Fields in hudson.model declared as PermissionModifier and TypeFieldDescriptionstatic final Permission
AbstractProject.ABORT
Deprecated.Just useItem.CANCEL
.static final Permission
Run.ARTIFACTS
static final Permission
Computer.BUILD
static final Permission
Item.BUILD
static final Permission
Item.CANCEL
static final Permission
Computer.CONFIGURE
static final Permission
Item.CONFIGURE
static final Permission
View.CONFIGURE
static final Permission
Computer.CONNECT
static final Permission
Computer.CREATE
static final Permission
Item.CREATE
static final Permission
View.CREATE
Permission to create new views.static final Permission
Computer.DELETE
static final Permission
Item.DELETE
static final Permission
Run.DELETE
static final Permission
View.DELETE
static final Permission
Computer.DISCONNECT
static final Permission
Item.DISCOVER
static final Permission
Computer.EXTENDED_READ
static final Permission
Item.EXTENDED_READ
Ability to view configuration details.static final Permission[]
Computer.EXTENDED_READ_AND_CONNECT
static final Permission
Item.READ
static final Permission
View.READ
static final Permission
Run.UPDATE
static final Permission
Item.WIPEOUT
static final Permission
Item.WORKSPACE
Methods in hudson.model that return PermissionModifier and TypeMethodDescriptionstatic Permission
View.getItemCreatePermission()
protected abstract Permission
TaskAction.getPermission()
Gets the permission object that represents the permission (againstTaskAction.getACL()
) to perform this task.Descriptor.getRequiredGlobalConfigPagePermission()
Returns the permission type needed in order to access theDescriptor.getGlobalConfigPage()
for this descriptor.UsageStatistics.getRequiredGlobalConfigPagePermission()
AdministrativeMonitor.getRequiredPermission()
Deprecated.Callers should useAdministrativeMonitor.checkRequiredPermission()
orAdministrativeMonitor.hasRequiredPermission()
.ManagementLink.getRequiredPermission()
Returns the permission required for user to see this management link on the "Manage Jenkins" page (ManageJenkinsAction
).UpdateCenter.CoreUpdateMonitor.getRequiredPermission()
-
Uses of Permission in hudson.scm
Fields in hudson.scm declared as PermissionMethods in hudson.scm that return PermissionModifier and TypeMethodDescriptionprotected Permission
AbstractScmTagAction.getPermission()
Defaults toSCM.TAG
. -
Uses of Permission in hudson.security
Fields in hudson.security declared as PermissionModifier and TypeFieldDescriptionstatic final Permission
Permission.CONFIGURE
Generic configuration access.static final Permission
Permission.CREATE
Generic create access.static final Permission
Permission.DELETE
Generic delete access.static final Permission
Permission.FULL_CONTROL
Deprecated.since 2009-01-23.static final Permission
Permission.HUDSON_ADMINISTER
Deprecated.since 2009-01-23.final Permission
Permission.impliedBy
BundledPermission
that also implies this permission.final Permission
AccessDeniedException2.permission
Deprecated.This object represents the permission that the user needed.final Permission
AccessDeniedException3.permission
This object represents the permission that the user needed.final Permission
SparseACL.Entry.permission
static final Permission
Permission.READ
Generic read access.static final Permission
Permission.UPDATE
Generic update access.static final Permission
Permission.WRITE
Generic write access.Fields in hudson.security with type parameters of type PermissionModifier and TypeFieldDescriptionstatic final Comparator<Permission>
Permission.ID_COMPARATOR
Comparator that ordersPermission
objects based on their ID.Methods in hudson.security that return PermissionModifier and TypeMethodDescriptionFinds a permission that has the given name.static Permission
Convert the ID representation intoPermission
object.GlobalSecurityConfiguration.getRequiredPermission()
Methods in hudson.security that return types with arguments of type PermissionModifier and TypeMethodDescriptionstatic List<Permission>
Permission.getAll()
Returns all thePermission
s available in the system.PermissionGroup.getPermissions()
Lists up all the permissions in this group.PermissionGroup.iterator()
Methods in hudson.security with parameters of type PermissionModifier and TypeMethodDescriptionprotected Boolean
SidACL._hasPermission
(org.springframework.security.core.Authentication a, Permission permission) Implementation that backs upSidACL.hasPermission2(Authentication, Permission)
.abstract boolean
PermissionAdder.add
(AuthorizationStrategy strategy, User user, Permission perm) Called to try to give a user global permission.void
SparseACL.add
(Sid sid, Permission permission, boolean allowed) default void
AccessControlled.checkAnyPermission
(Permission... permission) Convenient short-cut forgetACL().checkAnyPermission(permission)
final void
ACL.checkAnyPermission
(Permission... permissions) Checks if the current security principal has one of the supplied permissions.default void
AccessControlled.checkPermission
(Permission permission) Convenient short-cut forgetACL().checkPermission(permission)
final void
ACL.checkPermission
(Permission p) Checks if the current security principal has this permission.void
HudsonPrivateSecurityRealm.checkPermission
(Permission permission) default boolean
AccessControlled.hasAnyPermission
(Permission... permission) Convenient short-cut forgetACL().hasAnyPermission(permission)
final boolean
ACL.hasAnyPermission
(Permission... permissions) Checks if the current security principal has any of the permissions.default boolean
AccessControlled.hasPermission
(Permission permission) Convenient short-cut forgetACL().hasPermission(permission)
default boolean
AccessControlled.hasPermission
(Authentication a, Permission permission) final boolean
ACL.hasPermission
(Permission p) Checks if the current security principal has this permission.boolean
ACL.hasPermission
(Authentication a, Permission permission) boolean
HudsonPrivateSecurityRealm.hasPermission
(Permission permission) protected abstract Boolean
SidACL.hasPermission
(Sid p, Permission permission) Checks if the givenSid
has the givenPermission
.protected Boolean
SparseACL.hasPermission
(Sid p, Permission permission) default boolean
AccessControlled.hasPermission2
(org.springframework.security.core.Authentication a, Permission permission) Convenient short-cut forgetACL().hasPermission2(a, permission)
boolean
ACL.hasPermission2
(org.springframework.security.core.Authentication a, Permission permission) Checks if the given principle has the given permission.boolean
SidACL.hasPermission2
(org.springframework.security.core.Authentication a, Permission permission) boolean
SparseACL.hasPermission2
(org.springframework.security.core.Authentication a, Permission permission) Method parameters in hudson.security with type arguments of type PermissionModifier and TypeMethodDescriptionstatic ACL
ACL.lambda
(BiFunction<Authentication, Permission, Boolean> impl) static ACL
ACL.lambda2
(BiFunction<org.springframework.security.core.Authentication, Permission, Boolean> impl) Creates a simpleACL
implementation based on a “single-abstract-method” easily implemented via lambda syntax.Constructors in hudson.security with parameters of type PermissionModifierConstructorDescriptionAccessDeniedException2
(Throwable t, Authentication authentication, Permission permission) Deprecated.AccessDeniedException2
(Authentication authentication, Permission permission) Deprecated.AccessDeniedException3
(Throwable t, org.springframework.security.core.Authentication authentication, Permission permission) AccessDeniedException3
(org.springframework.security.core.Authentication authentication, Permission permission) Entry
(Sid sid, Permission permission, boolean allowed) Permission
(PermissionGroup group, String name, Permission impliedBy) Deprecated.since 1.257.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) -
Uses of Permission in hudson.slaves
Fields in hudson.slaves declared as PermissionModifier and TypeFieldDescriptionstatic final Permission
Cloud.PROVISION
Permission constant to control mutation operations onCloud
. -
Uses of Permission in hudson.util
Fields in hudson.util declared as PermissionModifier and TypeFieldDescriptionstatic final Permission
FormFieldValidator.CHECK
Deprecated.protected final Permission
FormFieldValidator.permission
Deprecated.Permission to check, or null if this check doesn't require any permission.Constructors in hudson.util with parameters of type PermissionModifierConstructorDescriptionprotected
FormFieldValidator
(AccessControlled subject, Permission permission) Deprecated.protected
FormFieldValidator
(Permission permission) Deprecated.protected
FormFieldValidator
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, AccessControlled subject, Permission permission) Deprecated.UseFormFieldValidator(AccessControlled,Permission)
and removeStaplerRequest
andStaplerResponse
from your "doCheck..." method parameterprotected
FormFieldValidator
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, Permission permission) Deprecated.UseFormFieldValidator(Permission)
and removeStaplerRequest
andStaplerResponse
from your "doCheck..." method parameter -
Uses of Permission in jenkins.agents
Methods in jenkins.agents that return Permission -
Uses of Permission in jenkins.diagnostics
Methods in jenkins.diagnostics that return Permission -
Uses of Permission in jenkins.management
Methods in jenkins.management that return PermissionModifier and TypeMethodDescriptionCliLink.getRequiredPermission()
ConfigureLink.getRequiredPermission()
ConsoleLink.getRequiredPermission()
NodesLink.getRequiredPermission()
PluginsLink.getRequiredPermission()
ReloadLink.getRequiredPermission()
ShutdownLink.getRequiredPermission()
StatisticsLink.getRequiredPermission()
SystemInfoLink.getRequiredPermission()
SystemLogLink.getRequiredPermission()
-
Uses of Permission in jenkins.model
Fields in jenkins.model declared as PermissionModifier and TypeFieldDescriptionstatic final Permission
Jenkins.ADMINISTER
static final Permission
Jenkins.MANAGE
This permission grants access to parts of the Jenkins system configuration.static final Permission[]
Jenkins.MANAGE_AND_SYSTEM_READ
static final Permission
Jenkins.READ
static final Permission
Jenkins.RUN_SCRIPTS
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTER
insteadstatic final Permission
Jenkins.SYSTEM_READ
Allows read-only access to large parts of the system configuration.Methods in jenkins.model that return PermissionModifier and TypeMethodDescriptionGlobalBuildDiscarderConfiguration.getRequiredGlobalConfigPagePermission()
GlobalProjectNamingStrategyConfiguration.getRequiredGlobalConfigPagePermission()
GlobalQuietPeriodConfiguration.getRequiredGlobalConfigPagePermission()
GlobalSCMRetryCountConfiguration.getRequiredGlobalConfigPagePermission()
Methods in jenkins.model with parameters of type PermissionModifier and TypeMethodDescriptionboolean
Jenkins.MasterComputer.hasPermission
(Permission permission) -
Uses of Permission in jenkins.monitor
Methods in jenkins.monitor that return PermissionModifier and TypeMethodDescriptionJavaVersionRecommendationAdminMonitor.getRequiredPermission()
OperatingSystemEndOfLifeAdminMonitor.getRequiredPermission()
-
Uses of Permission in jenkins.security
Methods in jenkins.security that return PermissionModifier and TypeMethodDescriptionResourceDomainRecommendation.getRequiredPermission()
UpdateSiteWarningsMonitor.getRequiredPermission()
-
Uses of Permission in jenkins.slaves
Constructors in jenkins.slaves with parameters of type PermissionModifierConstructorDescriptionEncryptedSlaveAgentJnlpFile
(AccessControlled it, String viewName, String slaveName, Permission connectPermission) -
Uses of Permission in jenkins.slaves.systemInfo
Methods in jenkins.slaves.systemInfo that return PermissionModifier and TypeMethodDescriptionClassLoaderStatisticsSlaveInfo.getRequiredPermission()
EnvVarsSlaveInfo.getRequiredPermission()
SlaveSystemInfo.getRequiredPermission()
Returns the permission required for user to see this system info extension on the "System Information" page for the Agent By defaultComputer.CONNECT
, butComputer.EXTENDED_READ
is also supported.SystemPropertySlaveInfo.getRequiredPermission()
-
Uses of Permission in jenkins.tools
Methods in jenkins.tools that return Permission
Jenkins.ADMINISTER
instead