Uses of Class
hudson.security.Permission
-
Packages that use Permission Package Description hudson hudson.diagnosis hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins.hudson.scm Jenkins's interface with source code management systems.hudson.security Security-related code.hudson.slaves Code related to agents.hudson.util Other miscellaneous utility codejenkins.agents jenkins.diagnostics jenkins.management jenkins.model jenkins.monitor jenkins.security jenkins.slaves jenkins.slaves.systemInfo jenkins.tools -
-
Uses of Permission in hudson
Fields in hudson declared as Permission Modifier and Type Field Description static PermissionPluginManager. CONFIGURE_UPDATECENTERDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinsteadstatic PermissionPluginManager. UPLOAD_PLUGINSDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinsteadMethods in hudson that return Permission Modifier and Type Method Description PermissionAboutJenkins. getRequiredPermission()Methods in hudson with parameters of type Permission Modifier and Type Method Description static voidFunctions. adminCheck(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object required, Permission permission)static 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 Permission Modifier and Type Method Description PermissionReverseProxySetupMonitor. getRequiredPermission()PermissionTooManyJobsButNoView. getRequiredPermission() -
Uses of Permission in hudson.model
Fields in hudson.model declared as Permission Modifier and Type Field Description static PermissionAbstractProject. ABORTDeprecated.Just useItem.CANCEL.static PermissionRun. ARTIFACTSstatic PermissionComputer. BUILDstatic PermissionItem. BUILDstatic PermissionItem. CANCELstatic PermissionComputer. CONFIGUREstatic PermissionItem. CONFIGUREstatic PermissionView. CONFIGUREstatic PermissionComputer. CONNECTstatic PermissionComputer. CREATEstatic PermissionItem. CREATEstatic PermissionView. CREATEPermission to create new views.static PermissionComputer. DELETEstatic PermissionItem. DELETEstatic PermissionRun. DELETEstatic PermissionView. DELETEstatic PermissionComputer. DISCONNECTstatic PermissionItem. DISCOVERstatic PermissionComputer. EXTENDED_READstatic PermissionItem. EXTENDED_READAbility to view configuration details.static Permission[]Computer. EXTENDED_READ_AND_CONNECTstatic PermissionItem. READstatic PermissionView. READstatic PermissionRun. UPDATEstatic PermissionItem. WIPEOUTstatic PermissionItem. WORKSPACEMethods in hudson.model that return Permission Modifier and Type Method Description static PermissionView. getItemCreatePermission()protected abstract PermissionTaskAction. getPermission()Gets the permission object that represents the permission (againstTaskAction.getACL()) to perform this task.PermissionDescriptor. getRequiredGlobalConfigPagePermission()Returns the permission type needed in order to access theDescriptor.getGlobalConfigPage()for this descriptor.PermissionUsageStatistics. getRequiredGlobalConfigPagePermission()PermissionAdministrativeMonitor. getRequiredPermission()Required permission to view this admin monitor.PermissionManagementLink. getRequiredPermission()Returns the permission required for user to see this management link on the "Manage Jenkins" page (ManageJenkinsAction).PermissionUpdateCenter.CoreUpdateMonitor. getRequiredPermission() -
Uses of Permission in hudson.scm
Fields in hudson.scm declared as Permission Modifier and Type Field Description static PermissionSCM. TAGPermission to create new tags.Methods in hudson.scm that return Permission Modifier and Type Method Description protected PermissionAbstractScmTagAction. getPermission()Defaults toSCM.TAG. -
Uses of Permission in hudson.security
Fields in hudson.security declared as Permission Modifier and Type Field Description static PermissionPermission. CONFIGUREGeneric configuration access.static PermissionPermission. CREATEGeneric create access.static PermissionPermission. DELETEGeneric delete access.static PermissionPermission. FULL_CONTROLDeprecated.since 2009-01-23.static PermissionPermission. HUDSON_ADMINISTERDeprecated.since 2009-01-23.PermissionPermission. impliedByBundledPermissionthat also implies this permission.PermissionAccessDeniedException2. permissionDeprecated.This object represents the permission that the user needed.PermissionAccessDeniedException3. permissionThis object represents the permission that the user needed.PermissionSparseACL.Entry. permissionstatic PermissionPermission. READGeneric read access.static PermissionPermission. UPDATEGeneric update access.static PermissionPermission. WRITEGeneric write access.Fields in hudson.security with type parameters of type Permission Modifier and Type Field Description static Comparator<Permission>Permission. ID_COMPARATORComparator that ordersPermissionobjects based on their ID.Methods in hudson.security that return Permission Modifier and Type Method Description PermissionPermissionGroup. find(String name)Finds a permission that has the given name.static PermissionPermission. fromId(String id)Convert the ID representation intoPermissionobject.PermissionGlobalSecurityConfiguration. getRequiredPermission()Methods in hudson.security that return types with arguments of type Permission Modifier and Type Method Description static List<Permission>Permission. getAll()Returns all thePermissions available in the system.List<Permission>PermissionGroup. getPermissions()Lists up all the permissions in this group.Iterator<Permission>PermissionGroup. iterator()Methods in hudson.security with parameters of type Permission Modifier and Type Method Description protected 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)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)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)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)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 Permission Modifier and Type Method Description static 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 Permission Constructor Description AccessDeniedException2(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 Permission Modifier and Type Field Description static PermissionCloud. PROVISIONPermission constant to control mutation operations onCloud. -
Uses of Permission in hudson.util
Fields in hudson.util declared as Permission Modifier and Type Field Description static PermissionFormFieldValidator. CHECKDeprecated.protected PermissionFormFieldValidator. permissionDeprecated.Permission to check, or null if this check doesn't require any permission.Constructors in hudson.util with parameters of type Permission Constructor 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.UseFormFieldValidator(AccessControlled,Permission)and removeStaplerRequestandStaplerResponsefrom your "doCheck..." method parameterFormFieldValidator(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 Modifier and Type Method Description PermissionCloudsLink. getRequiredPermission() -
Uses of Permission in jenkins.diagnostics
Methods in jenkins.diagnostics that return Permission Modifier and Type Method Description PermissionRootUrlNotSetMonitor. getRequiredPermission() -
Uses of Permission in jenkins.management
Methods in jenkins.management that return Permission Modifier and Type Method Description PermissionCliLink. getRequiredPermission()PermissionConfigureLink. getRequiredPermission()PermissionConsoleLink. getRequiredPermission()PermissionNodesLink. getRequiredPermission()PermissionPluginsLink. getRequiredPermission()PermissionReloadLink. getRequiredPermission()PermissionShutdownLink. getRequiredPermission()PermissionStatisticsLink. getRequiredPermission()PermissionSystemInfoLink. getRequiredPermission()PermissionSystemLogLink. getRequiredPermission() -
Uses of Permission in jenkins.model
Fields in jenkins.model declared as Permission Modifier and Type Field Description static PermissionJenkins. ADMINISTERstatic PermissionJenkins. MANAGEThis permission grants access to parts of the Jenkins system configuration.static Permission[]Jenkins. MANAGE_AND_SYSTEM_READstatic PermissionJenkins. READstatic PermissionJenkins. RUN_SCRIPTSDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinsteadstatic PermissionJenkins. SYSTEM_READAllows read-only access to large parts of the system configuration.Methods in jenkins.model that return Permission Modifier and Type Method Description PermissionGlobalProjectNamingStrategyConfiguration. getRequiredGlobalConfigPagePermission()PermissionGlobalQuietPeriodConfiguration. getRequiredGlobalConfigPagePermission()PermissionGlobalSCMRetryCountConfiguration. getRequiredGlobalConfigPagePermission()Methods in jenkins.model with parameters of type Permission Modifier and Type Method Description booleanJenkins.MasterComputer. hasPermission(Permission permission) -
Uses of Permission in jenkins.monitor
Methods in jenkins.monitor that return Permission Modifier and Type Method Description PermissionJavaVersionRecommendationAdminMonitor. getRequiredPermission()PermissionOperatingSystemEndOfLifeAdminMonitor. getRequiredPermission() -
Uses of Permission in jenkins.security
Methods in jenkins.security that return Permission Modifier and Type Method Description PermissionResourceDomainRecommendation. getRequiredPermission()PermissionUpdateSiteWarningsMonitor. getRequiredPermission() -
Uses of Permission in jenkins.slaves
Constructors in jenkins.slaves with parameters of type Permission Constructor Description EncryptedSlaveAgentJnlpFile(AccessControlled it, String viewName, String slaveName, Permission connectPermission) -
Uses of Permission in jenkins.slaves.systemInfo
Methods in jenkins.slaves.systemInfo that return Permission Modifier and Type Method Description PermissionClassLoaderStatisticsSlaveInfo. getRequiredPermission()PermissionEnvVarsSlaveInfo. getRequiredPermission()PermissionSlaveSystemInfo. 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.PermissionSystemPropertySlaveInfo. getRequiredPermission() -
Uses of Permission in jenkins.tools
Methods in jenkins.tools that return Permission Modifier and Type Method Description PermissionGlobalToolConfiguration. getRequiredPermission()
-