phacility/phabricator · error · Exception

You can not abandon this revision because you are not the au

Error message

You can not abandon this revision because you are not the author. You can only abandon revisions you own. You can change this behavior by adjusting the "%s" setting in Config.

What it means

Error "You can not abandon this revision because you are not the author. You can only abandon revisions you own. You can change this behavior by adjusting the "%s" setting in Config." thrown in phacility/phabricator.

Source

Thrown at src/applications/differential/xaction/DifferentialRevisionAbandonTransaction.php:69

  }

  public function applyInternalEffects($object, $value) {
    $status_abandoned = DifferentialRevisionStatus::ABANDONED;
    $object->setModernRevisionStatus($status_abandoned);
  }

  protected function validateAction($object, PhabricatorUser $viewer) {
    if ($object->isClosed()) {
      throw new Exception(
        pht(
          'You can not abandon this revision because it has already been '.
          'closed. Only open revisions can be abandoned.'));
    }

    $config_key = 'differential.always-allow-abandon';
    if (!PhabricatorEnv::getEnvConfig($config_key)) {
      if (!$this->isViewerRevisionAuthor($object, $viewer)) {
        throw new Exception(
          pht(
            'You can not abandon this revision because you are not the '.
            'author. You can only abandon revisions you own. You can change '.
            'this behavior by adjusting the "%s" setting in Config.',
            $config_key));
      }
    }
  }

  public function getTitle() {
    return pht(
      '%s abandoned this revision.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s abandoned %s.',

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionAbandonTransaction.php:69 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/f032f1db0ffb566d. Report an issue: GitHub.