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 PermissionPluginManager.CONFIGURE_UPDATECENTERDeprecated.static final PermissionPluginManager.UPLOAD_PLUGINSDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinsteadMethods in hudson that return PermissionMethods in hudson with parameters of type PermissionModifier and TypeMethodDescriptionstatic voidFunctions.checkAnyPermission(AccessControlled ac, Permission[] permissions) Checks if the current security principal has one of the supplied permissions.static voidFunctions.checkAnyPermission(Object object, Permission[] permissions) This version is so that the 'checkAnyPermission' onlayout.jellydegrades gracefully if "it" is not anAccessControlledobject.static voidFunctions.checkPermission(AccessControlled object, Permission permission) static voidFunctions.checkPermission(Permission permission) static voidFunctions.checkPermission(Object object, Permission permission) This version is so that the 'checkPermission' onlayout.jellydegrades gracefully if "it" is not anAccessControlledobject.static booleanFunctions.hasAnyPermission(AccessControlled ac, Permission[] permissions) Checks if the current security principal has one of the supplied permissions.static booleanFunctions.hasAnyPermission(Object object, Permission[] permissions) This version is so that the 'hasAnyPermission' degrades gracefully if "it" is not anAccessControlledobject.static booleanFunctions.hasPermission(Permission permission) Returns true if the current user has the given permission.static booleanFunctions.hasPermission(Object object, Permission permission) This version is so that the 'hasPermission' can degrade gracefully if "it" is not anAccessControlledobject. -
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 PermissionAbstractProject.ABORTDeprecated.Just useItem.CANCEL.static final PermissionRun.ARTIFACTSstatic final PermissionComputer.BUILDstatic final PermissionItem.BUILDstatic final PermissionItem.CANCELstatic final PermissionComputer.CONFIGUREstatic final PermissionItem.CONFIGUREstatic final PermissionView.CONFIGUREstatic final PermissionComputer.CONNECTstatic final PermissionComputer.CREATEstatic final PermissionItem.CREATEstatic final PermissionView.CREATEPermission to create new views.static final PermissionComputer.DELETEstatic final PermissionItem.DELETEstatic final PermissionRun.DELETEstatic final PermissionView.DELETEstatic final PermissionComputer.DISCONNECTstatic final PermissionItem.DISCOVERstatic final PermissionComputer.EXTENDED_READstatic final PermissionItem.EXTENDED_READAbility to view configuration details.static final Permission[]Computer.EXTENDED_READ_AND_CONNECTstatic final PermissionItem.READstatic final PermissionView.READstatic final PermissionRun.UPDATEstatic final PermissionItem.WIPEOUTstatic final PermissionItem.WORKSPACEMethods in hudson.model that return PermissionModifier and TypeMethodDescriptionstatic PermissionView.getItemCreatePermission()protected abstract PermissionTaskAction.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 PermissionAbstractScmTagAction.getPermission()Defaults toSCM.TAG. -
Uses of Permission in hudson.security
Fields in hudson.security declared as PermissionModifier and TypeFieldDescriptionstatic final PermissionPermission.CONFIGUREGeneric configuration access.static final PermissionPermission.CREATEGeneric create access.static final PermissionPermission.DELETEGeneric delete access.static final PermissionPermission.FULL_CONTROLDeprecated.since 2009-01-23.static final PermissionPermission.HUDSON_ADMINISTERDeprecated.since 2009-01-23.final PermissionPermission.impliedByBundledPermissionthat also implies this permission.final PermissionAccessDeniedException2.permissionDeprecated.This object represents the permission that the user needed.final PermissionAccessDeniedException3.permissionThis object represents the permission that the user needed.final PermissionSparseACL.Entry.permissionstatic final PermissionPermission.READGeneric read access.static final PermissionPermission.UPDATEGeneric update access.static final PermissionPermission.WRITEGeneric write access.Fields in hudson.security with type parameters of type PermissionModifier and TypeFieldDescriptionstatic final Comparator<Permission> Permission.ID_COMPARATORComparator that ordersPermissionobjects based on their ID.Methods in hudson.security that return PermissionModifier and TypeMethodDescriptionFinds a permission that has the given name.static PermissionConvert the ID representation intoPermissionobject.GlobalSecurityConfiguration.getRequiredPermission()Methods in hudson.security that return types with arguments of type PermissionModifier and TypeMethodDescriptionstatic List<Permission> Permission.getAll()Returns all thePermissions 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 BooleanSidACL._hasPermission(org.springframework.security.core.Authentication a, Permission permission) Implementation that backs upSidACL.hasPermission2(Authentication, Permission).abstract booleanPermissionAdder.add(AuthorizationStrategy strategy, User user, Permission perm) Called to try to give a user global permission.voidSparseACL.add(Sid sid, Permission permission, boolean allowed) default voidAccessControlled.checkAnyPermission(Permission... permission) Convenient short-cut forgetACL().checkAnyPermission(permission)final voidACL.checkAnyPermission(Permission... permissions) Checks if the current security principal has one of the supplied permissions.default voidAccessControlled.checkPermission(Permission permission) Convenient short-cut forgetACL().checkPermission(permission)final voidACL.checkPermission(Permission p) Checks if the current security principal has this permission.voidHudsonPrivateSecurityRealm.checkPermission(Permission permission) default booleanAccessControlled.hasAnyPermission(Permission... permission) Convenient short-cut forgetACL().hasAnyPermission(permission)final booleanACL.hasAnyPermission(Permission... permissions) Checks if the current security principal has any of the permissions.default booleanAccessControlled.hasPermission(Permission permission) Convenient short-cut forgetACL().hasPermission(permission)default booleanAccessControlled.hasPermission(Authentication a, Permission permission) final booleanACL.hasPermission(Permission p) Checks if the current security principal has this permission.booleanACL.hasPermission(Authentication a, Permission permission) booleanHudsonPrivateSecurityRealm.hasPermission(Permission permission) protected abstract BooleanSidACL.hasPermission(Sid p, Permission permission) Checks if the givenSidhas the givenPermission.protected BooleanSparseACL.hasPermission(Sid p, Permission permission) default booleanAccessControlled.hasPermission2(org.springframework.security.core.Authentication a, Permission permission) Convenient short-cut forgetACL().hasPermission2(a, permission)booleanACL.hasPermission2(org.springframework.security.core.Authentication a, Permission permission) Checks if the given principle has the given permission.booleanSidACL.hasPermission2(org.springframework.security.core.Authentication a, Permission permission) booleanSparseACL.hasPermission2(org.springframework.security.core.Authentication a, Permission permission) Method parameters in hudson.security with type arguments of type PermissionModifier and TypeMethodDescriptionstatic ACLACL.lambda(BiFunction<Authentication, Permission, Boolean> impl) static ACLACL.lambda2(BiFunction<org.springframework.security.core.Authentication, Permission, Boolean> impl) Creates a simpleACLimplementation 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 PermissionCloud.PROVISIONPermission constant to control mutation operations onCloud. -
Uses of Permission in hudson.util
Fields in hudson.util declared as PermissionModifier and TypeFieldDescriptionstatic final PermissionFormFieldValidator.CHECKDeprecated.protected final PermissionFormFieldValidator.permissionDeprecated.Permission to check, or null if this check doesn't require any permission.Constructors in hudson.util with parameters of type PermissionModifierConstructorDescriptionprotectedFormFieldValidator(AccessControlled subject, Permission permission) Deprecated.protectedFormFieldValidator(Permission permission) Deprecated.protectedFormFieldValidator(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, AccessControlled subject, Permission permission) Deprecated.UseFormFieldValidator(AccessControlled,Permission)and removeStaplerRequestandStaplerResponsefrom your "doCheck..." method parameterprotectedFormFieldValidator(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, Permission permission) Deprecated.UseFormFieldValidator(Permission)and removeStaplerRequestandStaplerResponsefrom 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 PermissionJenkins.ADMINISTERstatic final PermissionJenkins.MANAGEThis permission grants access to parts of the Jenkins system configuration.static final Permission[]Jenkins.MANAGE_AND_SYSTEM_READstatic final PermissionJenkins.READstatic final PermissionJenkins.RUN_SCRIPTSDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinsteadstatic final PermissionJenkins.SYSTEM_READAllows 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 TypeMethodDescriptionbooleanJenkins.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_READis also supported.SystemPropertySlaveInfo.getRequiredPermission() -
Uses of Permission in jenkins.tools
Methods in jenkins.tools that return Permission
Jenkins.ADMINISTERinstead