Skip to content

Commit ed62ddc

Browse files
authored
chore: add workspace-sharing experiment (#19106)
1 parent cc4f8da commit ed62ddc

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

coderd/apidoc/docs.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/deployment.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3432,6 +3432,7 @@ const (
34323432
ExperimentWebPush Experiment = "web-push" // Enables web push notifications through the browser.
34333433
ExperimentOAuth2 Experiment = "oauth2" // Enables OAuth2 provider functionality.
34343434
ExperimentMCPServerHTTP Experiment = "mcp-server-http" // Enables the MCP HTTP server functionality.
3435+
ExperimentWorkspaceSharing Experiment = "workspace-sharing" // Enables updating workspace ACLs for sharing with users and groups.
34353436
)
34363437

34373438
func (e Experiment) DisplayName() string {
@@ -3450,6 +3451,8 @@ func (e Experiment) DisplayName() string {
34503451
return "OAuth2 Provider Functionality"
34513452
case ExperimentMCPServerHTTP:
34523453
return "MCP HTTP Server Functionality"
3454+
case ExperimentWorkspaceSharing:
3455+
return "Workspace Sharing"
34533456
default:
34543457
// Split on hyphen and convert to title case
34553458
// e.g. "web-push" -> "Web Push", "mcp-server-http" -> "Mcp Server Http"
@@ -3467,6 +3470,7 @@ var ExperimentsKnown = Experiments{
34673470
ExperimentWebPush,
34683471
ExperimentOAuth2,
34693472
ExperimentMCPServerHTTP,
3473+
ExperimentWorkspaceSharing,
34703474
}
34713475

34723476
// ExperimentsSafe should include all experiments that are safe for

docs/reference/api/schemas.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/api/typesGenerated.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)