Skip to content

fix: RenameCanister not allowed on aborted canister#9465

Merged
alin-at-dfinity merged 1 commit intodfinity:masterfrom
dsarlis:dimitris/fix-rename-canister
Mar 19, 2026
Merged

fix: RenameCanister not allowed on aborted canister#9465
alin-at-dfinity merged 1 commit intodfinity:masterfrom
dsarlis:dimitris/fix-rename-canister

Conversation

@dsarlis
Copy link
Copy Markdown
Contributor

@dsarlis dsarlis commented Mar 18, 2026

This fixes a benign bug where RenameCanister would be allowed on an aborted canister. Since the RenameCanister management endpoint is only allowed to be called by the migration canister and the migration canister enforces that the canister to be renamed must be stopped the situation cannot really happen in production, so this fix is mostly done for consistency across the board.

@dsarlis dsarlis requested a review from a team as a code owner March 18, 2026 16:15
@github-actions github-actions bot added the fix label Mar 18, 2026
@basvandijk basvandijk added the security-review-passed IDX or InfraSec have concluded it's safe to run CI on the external PR. label Mar 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@alin-at-dfinity alin-at-dfinity added this pull request to the merge queue Mar 19, 2026
Merged via the queue into dfinity:master with commit da43d0c Mar 19, 2026
17 checks passed
@dsarlis dsarlis deleted the dimitris/fix-rename-canister branch March 26, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor fix security-review-passed IDX or InfraSec have concluded it's safe to run CI on the external PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants