docs: private boolean isUpdatingActionStatusAllowed(final JpaAction action, final JpaActionStatus actionStatus) {
  
          final boolean isIntermediateFeedback = !FINISHED.equals(actionStatus.getStatus())
                  && !Status.ERROR.equals(actionStatus.getStatus());
  
          final boolean isAllowedByRepositoryConfiguration = !repositoryProperties.isRejectActionStatusForClosedAction()
                  && isIntermediateFeedback;
  
          final boolean isAllowedForDownloadOnlyActions = isDownloadOnly(action) && !isIntermediateFeedback;
  
          return action.isActive() || isAllowedByRepositoryConfiguration || isAllowedForDownloadOnlyActions;
      }