Gate native workspace team creation to admins - #14707
Open
warp-agent-staging[bot] wants to merge 3 commits into
Open
Gate native workspace team creation to admins#14707warp-agent-staging[bot] wants to merge 3 commits into
warp-agent-staging[bot] wants to merge 3 commits into
Conversation
Require multiple teams before enabling native workspace behavior and hide team creation from native-workspace non-admins while preserving the join flow. Co-Authored-By: Warp Agent <agent@warp.dev>
Co-Authored-By: Warp Agent <agent@warp.dev>
Keep the native workspace behavior changes while removing the added test coverage at the requester's explicit direction. Co-Authored-By: Warp Agent <agent@warp.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Native workspaces were enabled solely from billing policy, even when a workspace had fewer than two teams. The Teams create/join page also always exposed team creation, regardless of workspace-level permissions.
This change:
Linked Issue
APP-5171
Originating thread: https://warpdev.slack.com/archives/C0BDQDW8V5E/p1785873369852859
Testing
./script/format --checkCARGO_INCREMENTAL=0 cargo clippy -p warp --all-targets --tests -- -D warningsCARGO_INCREMENTAL=0 cargo build -p warpScreenshots / Videos
Computer-use screenshots
Computer-use video recordings
Agent Mode
CHANGELOG-IMPROVEMENT: Restrict team creation in native workspaces to workspace admins.
Conversation: https://staging.warp.dev/conversation/03ef05c7-2917-4f80-b77d-3a3c6441ead1
Run: https://oz.staging.warp.dev/runs/019fce62-eeb0-7385-8347-f710351b7c7f
Co-Authored-By: Warp Agent agent@warp.dev
This PR was generated with Oz.