public class ProjectMatrixAuthorizationStrategy extends GlobalMatrixAuthorizationStrategy
GlobalMatrixAuthorizationStrategy
plus per-project ACL.
Per-project ACL is stored in AuthorizationMatrixProperty
.
Modifier and Type | Class and Description |
---|---|
static class |
ProjectMatrixAuthorizationStrategy.ConverterImpl |
GlobalMatrixAuthorizationStrategy.DescriptorImpl, GlobalMatrixAuthorizationStrategy.PermissionAdderImpl
AuthorizationStrategy.Unsecured
AuthorizationContainer.IdStrategyComparator, AuthorizationContainer.PermissionEntryComparator
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static Descriptor<AuthorizationStrategy> |
DESCRIPTOR |
DANGEROUS_PERMISSIONS
LIST, UNSECURED
Constructor and Description |
---|
ProjectMatrixAuthorizationStrategy() |
Modifier and Type | Method and Description |
---|---|
ACL |
getACL(AbstractItem item) |
ACL |
getACL(ItemGroup<?> g) |
ACL |
getACL(Job<?,?> project) |
ACL |
getACL(Node node) |
Set<String> |
getGroups()
Internal only: Returns all recorded (possible) group sids to allow populating
AuthorizationStrategy.getGroups() . |
getEditingPermission, getGrantedPermissionEntries, getRootACL, recordGroup
all, getACL, getACL, getACL, getACL, getACL
getDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, add, getAllPermissionEntries, getAllSIDs, getDescriptor, getGrantedPermissions, hasExplicitPermission, hasExplicitPermission, hasPermission, hasPermission
@Extension public static final Descriptor<AuthorizationStrategy> DESCRIPTOR
@NonNull public ACL getACL(@NonNull Job<?,?> project)
getACL
in class AuthorizationStrategy
@NonNull public ACL getACL(@NonNull Node node)
getACL
in class AuthorizationStrategy
@NonNull public ACL getACL(@NonNull AbstractItem item)
getACL
in class AuthorizationStrategy
@NonNull public Set<String> getGroups()
AuthorizationContainer
AuthorizationStrategy.getGroups()
.getGroups
in interface AuthorizationContainer
getGroups
in class GlobalMatrixAuthorizationStrategy
Copyright © 2016–2022. All rights reserved.