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>
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/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
InheritParentStrategy
@DataBoundConstructor public InheritParentStrategy()
-
-
Method Details
-
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
-