feat: add organization scope for shared ports (#18314)

This commit is contained in:
ケイラ
2025-06-16 16:15:59 -06:00
committed by GitHub
parent eff2174198
commit 5df70a613d
30 changed files with 1245 additions and 811 deletions
+7 -5
View File
@@ -15353,7 +15353,7 @@
]
},
"share_level": {
"enum": ["owner", "authenticated", "public"],
"enum": ["owner", "authenticated", "organization", "public"],
"allOf": [
{
"$ref": "#/definitions/codersdk.WorkspaceAgentPortShareLevel"
@@ -16227,7 +16227,7 @@
]
},
"share_level": {
"enum": ["owner", "authenticated", "public"],
"enum": ["owner", "authenticated", "organization", "public"],
"allOf": [
{
"$ref": "#/definitions/codersdk.WorkspaceAgentPortShareLevel"
@@ -16242,10 +16242,11 @@
},
"codersdk.WorkspaceAgentPortShareLevel": {
"type": "string",
"enum": ["owner", "authenticated", "public"],
"enum": ["owner", "authenticated", "organization", "public"],
"x-enum-varnames": [
"WorkspaceAgentPortShareLevelOwner",
"WorkspaceAgentPortShareLevelAuthenticated",
"WorkspaceAgentPortShareLevelOrganization",
"WorkspaceAgentPortShareLevelPublic"
]
},
@@ -16366,7 +16367,7 @@
"$ref": "#/definitions/codersdk.WorkspaceAppOpenIn"
},
"sharing_level": {
"enum": ["owner", "authenticated", "public"],
"enum": ["owner", "authenticated", "organization", "public"],
"allOf": [
{
"$ref": "#/definitions/codersdk.WorkspaceAppSharingLevel"
@@ -16418,10 +16419,11 @@
},
"codersdk.WorkspaceAppSharingLevel": {
"type": "string",
"enum": ["owner", "authenticated", "public"],
"enum": ["owner", "authenticated", "organization", "public"],
"x-enum-varnames": [
"WorkspaceAppSharingLevelOwner",
"WorkspaceAppSharingLevelAuthenticated",
"WorkspaceAppSharingLevelOrganization",
"WorkspaceAppSharingLevelPublic"
]
},