Interface GrantLayeredStrategy

All Known Implementing Classes:
BatchControlMatrixAuthorizationStrategy, BatchControlRoleBasedAuthorizationStrategy

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public interface GrantLayeredStrategy
Implemented by the Batch Control authorization strategies, the subclasses of the supported strategies that layer active grants over the parent's ACLs (D-35a, ARCHITECTURE section 4).

This interface has no dependency on matrix-auth or role-strategy, so code that runs whether or not those plugins are installed (monitors, listeners) can tell a Batch Control strategy apart with instanceof without loading either plugin's classes.

  • Method Summary

    Modifier and Type
    Method
    Description
    A plain instance of the parent strategy with every entry of this one: the uninstall path of the migration action (D-35a).
  • Method Details

    • toPlainStrategy

      @NonNull AuthorizationStrategy toPlainStrategy()
      A plain instance of the parent strategy with every entry of this one: the uninstall path of the migration action (D-35a). The returned strategy confers nothing through grants.