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
+2
View File
@@ -926,6 +926,7 @@ Status Code **200**
| `open_in` | `tab` |
| `sharing_level` | `owner` |
| `sharing_level` | `authenticated` |
| `sharing_level` | `organization` |
| `sharing_level` | `public` |
| `state` | `working` |
| `state` | `complete` |
@@ -1681,6 +1682,7 @@ Status Code **200**
| `open_in` | `tab` |
| `sharing_level` | `owner` |
| `sharing_level` | `authenticated` |
| `sharing_level` | `organization` |
| `sharing_level` | `public` |
| `state` | `working` |
| `state` | `complete` |
+5
View File
@@ -8084,6 +8084,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
| `protocol` | `https` |
| `share_level` | `owner` |
| `share_level` | `authenticated` |
| `share_level` | `organization` |
| `share_level` | `public` |
## codersdk.UsageAppName
@@ -9287,6 +9288,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
| `protocol` | `https` |
| `share_level` | `owner` |
| `share_level` | `authenticated` |
| `share_level` | `organization` |
| `share_level` | `public` |
## codersdk.WorkspaceAgentPortShareLevel
@@ -9303,6 +9305,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|-----------------|
| `owner` |
| `authenticated` |
| `organization` |
| `public` |
## codersdk.WorkspaceAgentPortShareProtocol
@@ -9473,6 +9476,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|-----------------|-----------------|
| `sharing_level` | `owner` |
| `sharing_level` | `authenticated` |
| `sharing_level` | `organization` |
| `sharing_level` | `public` |
## codersdk.WorkspaceAppHealth
@@ -9521,6 +9525,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|-----------------|
| `owner` |
| `authenticated` |
| `organization` |
| `public` |
## codersdk.WorkspaceAppStatus
+4
View File
@@ -143,6 +143,7 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
|------------------------|-----------------|
| `max_port_share_level` | `owner` |
| `max_port_share_level` | `authenticated` |
| `max_port_share_level` | `organization` |
| `max_port_share_level` | `public` |
| `provisioner` | `terraform` |
@@ -874,6 +875,7 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
|------------------------|-----------------|
| `max_port_share_level` | `owner` |
| `max_port_share_level` | `authenticated` |
| `max_port_share_level` | `organization` |
| `max_port_share_level` | `public` |
| `provisioner` | `terraform` |
@@ -2552,6 +2554,7 @@ Status Code **200**
| `open_in` | `tab` |
| `sharing_level` | `owner` |
| `sharing_level` | `authenticated` |
| `sharing_level` | `organization` |
| `sharing_level` | `public` |
| `state` | `working` |
| `state` | `complete` |
@@ -3227,6 +3230,7 @@ Status Code **200**
| `open_in` | `tab` |
| `sharing_level` | `owner` |
| `sharing_level` | `authenticated` |
| `sharing_level` | `organization` |
| `sharing_level` | `public` |
| `state` | `working` |
| `state` | `complete` |