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.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 Permission
PluginManager. CONFIGURE_UPDATECENTER
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTER
insteadstatic Permission
PluginManager. UPLOAD_PLUGINS
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTER
insteadMethods in hudson that return Permission Modifier and Type Method Description Permission
AboutJenkins. getRequiredPermission()
Methods in hudson with parameters of type Permission Modifier and Type Method Description 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 Permission Modifier and Type Method Description Permission
ReverseProxySetupMonitor. getRequiredPermission()
Permission
TooManyJobsButNoView. getRequiredPermission()
-
Uses of Permission in hudson.model
Fields in hudson.model declared as Permission Modifier and Type Field Description static Permission
AbstractProject. ABORT
Deprecated.Just useItem.CANCEL
.static Permission
Run. ARTIFACTS
static Permission
Computer. BUILD
static Permission
Item. BUILD
static Permission
Item. CANCEL
static Permission
Computer. CONFIGURE
static Permission
Item. CONFIGURE
static Permission
View. CONFIGURE
static Permission
Computer. CONNECT
static Permission
Computer. CREATE
static Permission
Item. CREATE
static Permission
View. CREATE
Permission to create new views.static Permission
Computer. DELETE
static Permission
Item. DELETE
static Permission
Run. DELETE
static Permission
View. 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[]
Computer. EXTENDED_READ_AND_CONNECT
static Permission
Item. READ
static Permission
View. READ
static Permission
Run. UPDATE
static Permission
Item. WIPEOUT
static Permission
Item. WORKSPACE
Methods in hudson.model that return Permission Modifier and Type Method Description static Permission
View. getItemCreatePermission()
protected abstract Permission
TaskAction. getPermission()
Gets the permission object that represents the permission (againstTaskAction.getACL()
) to perform this task.Permission
Descriptor. getRequiredGlobalConfigPagePermission()
Returns the permission type needed in order to access theDescriptor.getGlobalConfigPage()
for this descriptor.Permission
UsageStatistics. getRequiredGlobalConfigPagePermission()
Permission
AdministrativeMonitor. getRequiredPermission()
Required permission to view this admin monitor.Permission
ManagementLink. getRequiredPermission()
Returns the permission required for user to see this management link on the "Manage Jenkins" page (ManageJenkinsAction
).Permission
UpdateCenter.CoreUpdateMonitor. getRequiredPermission()
-
Uses of Permission in hudson.scm
Fields in hudson.scm declared as Permission Modifier and Type Field Description static Permission
SCM. TAG
Permission to create new tags.Methods in hudson.scm that return Permission Modifier and Type Method Description protected Permission
AbstractScmTagAction. getPermission()
Defaults toSCM.TAG
. -
Uses of Permission in hudson.security
Fields in hudson.security declared as Permission Modifier and Type Field 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.static Permission
Permission. HUDSON_ADMINISTER
Deprecated.since 2009-01-23.Permission
Permission. impliedBy
BundledPermission
that also implies this permission.Permission
AccessDeniedException2. permission
Deprecated.This object represents the permission that the user needed.Permission
AccessDeniedException3. 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.Fields in hudson.security with type parameters of type Permission Modifier and Type Field Description static Comparator<Permission>
Permission. ID_COMPARATOR
Comparator that ordersPermission
objects based on their ID.Methods in hudson.security that return Permission Modifier and Type Method Description Permission
PermissionGroup. find(String name)
Finds a permission that has the given name.static Permission
Permission. fromId(String id)
Convert the ID representation intoPermission
object.Permission
GlobalSecurityConfiguration. 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 thePermission
s 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 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)
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)
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)
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)
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 Permission Modifier and Type Method Description static 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 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 Permission
Cloud. PROVISION
Permission 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 Permission
FormFieldValidator. CHECK
Deprecated.protected 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 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 removeStaplerRequest
andStaplerResponse
from your "doCheck..." method parameterFormFieldValidator(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.diagnostics
Methods in jenkins.diagnostics that return Permission Modifier and Type Method Description Permission
RootUrlNotSetMonitor. getRequiredPermission()
-
Uses of Permission in jenkins.management
Methods in jenkins.management that return Permission Modifier and Type Method Description Permission
CliLink. getRequiredPermission()
Permission
ConfigureLink. getRequiredPermission()
Permission
ConsoleLink. getRequiredPermission()
Permission
NodesLink. getRequiredPermission()
Permission
PluginsLink. getRequiredPermission()
Permission
ReloadLink. getRequiredPermission()
Permission
ShutdownLink. getRequiredPermission()
Permission
StatisticsLink. getRequiredPermission()
Permission
SystemInfoLink. getRequiredPermission()
Permission
SystemLogLink. getRequiredPermission()
-
Uses of Permission in jenkins.model
Fields in jenkins.model declared as Permission Modifier and Type Field Description static Permission
Jenkins. ADMINISTER
static Permission
Jenkins. MANAGE
This permission grants access to parts of the Jenkins system configuration.static Permission[]
Jenkins. MANAGE_AND_SYSTEM_READ
static Permission
Jenkins. READ
static Permission
Jenkins. RUN_SCRIPTS
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTER
insteadstatic Permission
Jenkins. SYSTEM_READ
Allows read-only access to large parts of the system configuration.Methods in jenkins.model that return Permission Modifier and Type Method Description Permission
GlobalProjectNamingStrategyConfiguration. getRequiredGlobalConfigPagePermission()
Permission
GlobalQuietPeriodConfiguration. getRequiredGlobalConfigPagePermission()
Permission
GlobalSCMRetryCountConfiguration. getRequiredGlobalConfigPagePermission()
Methods in jenkins.model with parameters of type Permission Modifier and Type Method Description boolean
Jenkins.MasterComputer. hasPermission(Permission permission)
-
Uses of Permission in jenkins.monitor
Methods in jenkins.monitor that return Permission Modifier and Type Method Description Permission
JavaVersionRecommendationAdminMonitor. getRequiredPermission()
Permission
OperatingSystemEndOfLifeAdminMonitor. getRequiredPermission()
-
Uses of Permission in jenkins.security
Methods in jenkins.security that return Permission Modifier and Type Method Description Permission
ResourceDomainRecommendation. getRequiredPermission()
Permission
UpdateSiteWarningsMonitor. 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 Permission
ClassLoaderStatisticsSlaveInfo. getRequiredPermission()
Permission
EnvVarsSlaveInfo. getRequiredPermission()
Permission
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.Permission
SystemPropertySlaveInfo. getRequiredPermission()
-
Uses of Permission in jenkins.tools
Methods in jenkins.tools that return Permission Modifier and Type Method Description Permission
GlobalToolConfiguration. getRequiredPermission()
-