feat: add workspace sharing page (#19107)

This commit is contained in:
ケイラ
2025-07-31 15:05:09 +00:00
committed by GitHub
parent ddb5b87815
commit 1cffd11619
28 changed files with 668 additions and 52 deletions
+40
View File
@@ -8149,6 +8149,30 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
The schedule must be daily with a single time, and should have a timezone specified via a CRON_TZ prefix (otherwise UTC will be used).
If the schedule is empty, the user will be updated to use the default schedule.|
## codersdk.UpdateWorkspaceACL
```json
{
"group_roles": {
"property1": "admin",
"property2": "admin"
},
"user_roles": {
"property1": "admin",
"property2": "admin"
}
}
```
### Properties
| Name | Type | Required | Restrictions | Description |
|--------------------|--------------------------------------------------|----------|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| `group_roles` | object | false | | |
| » `[any property]` | [codersdk.WorkspaceRole](#codersdkworkspacerole) | false | | |
| `user_roles` | object | false | | Keys must be valid UUIDs. To remove a user/group from the ACL use "" as the role name (available as a constant named `codersdk.WorkspaceRoleDeleted`) |
| » `[any property]` | [codersdk.WorkspaceRole](#codersdkworkspacerole) | false | | |
## codersdk.UpdateWorkspaceAutomaticUpdatesRequest
```json
@@ -10548,6 +10572,22 @@ If the schedule is empty, the user will be updated to use the default schedule.|
| `sensitive` | boolean | false | | |
| `value` | string | false | | |
## codersdk.WorkspaceRole
```json
"admin"
```
### Properties
#### Enumerated Values
| Value |
|---------|
| `admin` |
| `use` |
| `` |
## codersdk.WorkspaceStatus
```json