Uses of Class
hudson.security.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
Modifier and TypeFieldDescriptionstatic final Permission
PluginManager.CONFIGURE_UPDATECENTER
Deprecated.static final Permission
PluginManager.UPLOAD_PLUGINS
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTER
insteadModifier 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
Modifier and TypeMethodDescriptionReverseProxySetupMonitor.getRequiredPermission()
TooManyJobsButNoView.getRequiredPermission()
-
Uses of Permission in hudson.model
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected Permission
AbstractScmTagAction.getPermission()
Defaults toSCM.TAG
. -
Uses of Permission in hudson.security
Modifier 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.Modifier and TypeFieldDescriptionstatic final Comparator<Permission>
Permission.ID_COMPARATOR
Comparator that ordersPermission
objects based on their ID.Modifier and TypeMethodDescriptionFinds a permission that has the given name.static Permission
Convert the ID representation intoPermission
object.GlobalSecurityConfiguration.getRequiredPermission()
Modifier 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()
Modifier 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) Modifier 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.ModifierConstructorDescriptionAccessDeniedException2
(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
Modifier and TypeFieldDescriptionstatic final Permission
Cloud.PROVISION
Permission constant to control mutation operations onCloud
. -
Uses of Permission in hudson.util
Modifier 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.ModifierConstructorDescriptionprotected
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
-
Uses of Permission in jenkins.diagnostics
-
Uses of Permission in jenkins.management
Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionGlobalProjectNamingStrategyConfiguration.getRequiredGlobalConfigPagePermission()
GlobalQuietPeriodConfiguration.getRequiredGlobalConfigPagePermission()
GlobalSCMRetryCountConfiguration.getRequiredGlobalConfigPagePermission()
Modifier and TypeMethodDescriptionboolean
Jenkins.MasterComputer.hasPermission
(Permission permission) -
Uses of Permission in jenkins.monitor
Modifier and TypeMethodDescriptionJavaVersionRecommendationAdminMonitor.getRequiredPermission()
OperatingSystemEndOfLifeAdminMonitor.getRequiredPermission()
-
Uses of Permission in jenkins.security
Modifier and TypeMethodDescriptionResourceDomainRecommendation.getRequiredPermission()
UpdateSiteWarningsMonitor.getRequiredPermission()
-
Uses of Permission in jenkins.slaves
ModifierConstructorDescriptionEncryptedSlaveAgentJnlpFile
(AccessControlled it, String viewName, String slaveName, Permission connectPermission) -
Uses of Permission in jenkins.slaves.systemInfo
Modifier 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
Jenkins.ADMINISTER
instead