Class InheritParentStrategy
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<InheritanceStrategy>
-
- org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy
-
- org.jenkinsci.plugins.matrixauth.inheritance.InheritParentStrategy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<InheritanceStrategy>
public class InheritParentStrategy extends InheritanceStrategy
Strategy that inherits the ACL from the parent. The parent's inheritance strategy in turn determines whether this receives permissions from grandparents etc. up to root.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InheritParentStrategy.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description InheritParentStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
hasPermission(org.springframework.security.core.Authentication a, Permission permission, ACL child, ACL parent, ACL root)
-
Methods inherited from class org.jenkinsci.plugins.matrixauth.inheritance.InheritanceStrategy
getDescriptor, getEffectiveACL
-
-
-
-
Method Detail
-
hasPermission
protected boolean hasPermission(@NonNull org.springframework.security.core.Authentication a, @NonNull Permission permission, ACL child, @CheckForNull ACL parent, ACL root)
- Specified by:
hasPermission
in classInheritanceStrategy
-
-