Class AbstractGrantNewPermissionsUpgradeTask

All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
UpgradeTask100104GrantCreateBranchPermission, UpgradeTask100204AddNewPermissionsToDeploymentProjects, UpgradeTask70301GrantViewConfigurationPermission, UpgradeTask90402GrantApproveReleasePermission

public abstract class AbstractGrantNewPermissionsUpgradeTask extends AbstractUpgradeTaskWithConcurrentExecution
  • Constructor Details

    • AbstractGrantNewPermissionsUpgradeTask

      public AbstractGrantNewPermissionsUpgradeTask(String name)
  • Method Details

    • doUpgrade

      protected void doUpgrade(@NotNull @NotNull Object aclEntity, @NotNull @NotNull AclDao aclDao, @NotNull @NotNull BambooAclUpdateHelper aclUpdateHelper, @NotNull @NotNull org.apache.logging.log4j.Logger log, @NotNull @NotNull Set<BambooPermission> permissionsRequiringNewPermission, @NotNull @NotNull Set<BambooPermission> newPermissions)
      Run the upgrade for a single entity.
      Parameters:
      aclEntity - entity for which to upgrade ACLs