Skip to content

fix: require update permission to recreate devcontainers#25812

Merged
sreya merged 2 commits into
mainfrom
devcontainer-bug
May 28, 2026
Merged

fix: require update permission to recreate devcontainers#25812
sreya merged 2 commits into
mainfrom
devcontainer-bug

Conversation

@sreya

@sreya sreya commented May 28, 2026

Copy link
Copy Markdown
Collaborator

The httpmw upstream from this endpoint only checks for read perms to the workspace agent. Recreating a dev container should require update perms since it mutates state. This also matches the behavior of the DELETE endpoint

@sreya sreya requested a review from mafredri May 28, 2026 19:31

@mafredri mafredri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks fine, but we should add the reasoning behind the change in the PR description and squash commit message.

@sreya sreya merged commit bb11946 into main May 28, 2026
54 checks passed
@sreya sreya deleted the devcontainer-bug branch May 28, 2026 20:34
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants