Interface AuthorizationProperty

    • Method Detail

      • setInheritanceStrategy

        void setInheritanceStrategy​(InheritanceStrategy inheritanceStrategy)
      • setBlocksInheritance

        @Deprecated
        default void setBlocksInheritance​(boolean blocksInheritance)
        Deprecated.
        Use InheritanceStrategy instead.
        Sets the flag to block inheritance. Since the introduction of inheritance strategies, set the inheritance strategy roughly matching the previous behavior, i.e. false will set the NonInheritingStrategy, true will set the InheritGlobalStrategy. Note that for items nested inside folders, this will change behavior significantly.
        Since:
        2.0
      • isBlocksInheritance

        @Deprecated
        default boolean isBlocksInheritance()
        Deprecated.
        Returns true if the authorization matrix is configured to block inheritance from the parent. Since the introduction of inheritance strategies, returns true if and only if the selected inheritance strategy is NonInheritingStrategy.
        Since:
        2.0
      • setEntries

        @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
        default void setEntries​(List<AuthorizationProperty.DslEntry> entries)
        Set entries from DSL in Job DSL or Pipeline plugins.
        Parameters:
        entries - list of entries to use for permission assignment