mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow restricting sharing to service accounts (#23327)
This commit is contained in:
@@ -38,7 +38,7 @@ type UpdateWorkspaceSharingSettingsRequest struct {
|
||||
// SharingDisabled is deprecated and left for backward compatibility
|
||||
// purposes.
|
||||
// Deprecated: use `ShareableWorkspaceOwners` instead
|
||||
SharingDisabled bool `json:"sharing_disabled"`
|
||||
SharingDisabled bool `json:"sharing_disabled,omitempty"`
|
||||
// ShareableWorkspaceOwners controls whose workspaces can be shared
|
||||
// within the organization.
|
||||
ShareableWorkspaceOwners ShareableWorkspaceOwners `json:"shareable_workspace_owners,omitempty" enums:"none,everyone,service_accounts"`
|
||||
|
||||
Reference in New Issue
Block a user