phacility/phabricator · error · Exception
You can not resign from this revision because you are not a…
Error message
You can not resign from this revision because you are not a reviewer, and do not have authority over any reviewer.
What it means
Role guard in DifferentialRevisionResignTransaction::validateAction: the viewer is neither a direct reviewer on the revision nor a member of any package/project reviewer they would have authority to resign for (isViewerReviewerOrAuthority style check returned false). Resignation is a reviewer action; users with no reviewer stake on the revision cannot resign from it.
Solutions
- Only reviewers (or members of reviewing packages/projects) can resign; if you were never a reviewer there is nothing to do
- If you were removed as a reviewer, no resignation is needed
- If you should be a reviewer, ask the author to add you before resigning
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionResignTransaction.php:79 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/cac220de0b09384d.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/differential/xaction/DifferentialRevisionResignTransaction.php:79
protected function validateAction($object, PhabricatorUser $viewer) {
if ($object->isClosed()) {
throw new Exception(
pht(
'You can not resign from this revision because it has already '.
'been closed. You can only resign from open revisions.'));
}
$resigned = DifferentialReviewerStatus::STATUS_RESIGNED;
if ($this->getViewerReviewerStatus($object, $viewer) == $resigned) {
throw new Exception(
pht(
'You can not resign from this revision because you have already '.
'resigned.'));
}
if (!$this->isViewerAnyAuthority($object, $viewer)) {
throw new Exception(
pht(
'You can not resign from this revision because you are not a '.
'reviewer, and do not have authority over any reviewer.'));
}
}
public function getTitle() {
return pht(
'%s resigned from this revision.',
$this->renderAuthor());
}
public function getTitleForFeed() {
return pht(
'%s resigned from %s.',
$this->renderAuthor(),
$this->renderObject());
}View on GitHub (pinned to 5720a38cfe)