Skip to content

Commit 951aa83

Browse files
committed
[api, server] Add missing update_allowed_workspace_classes field
Tool: gitpod/catfood.gitpod.cloud
1 parent fac9721 commit 951aa83

File tree

5 files changed

+803
-464
lines changed

5 files changed

+803
-464
lines changed

components/public-api/gitpod/v1/organization.proto

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,22 @@ message UpdateOrganizationSettingsRequest {
194194

195195
// allowed_workspace_classes are the IDs of classes, which can be used by
196196
// workspaces in an organization. Pass an empty array to allow all workspace
197-
// classes
197+
// classes.
198+
// Only updates if update_allowed_workspace_classes is true.
198199
repeated string allowed_workspace_classes = 5;
199200

200201
// restricted_editor_names updates the list of restricted editor names that
201202
// are not allowed to be used by workspaces in an organization. If empty, all
202-
// editors are allowed. Only updates if update_restricted_editor_names is
203-
// true.
203+
// editors are allowed.
204+
// Only updates if update_restricted_editor_names is true.
204205
repeated string restricted_editor_names = 6;
205206

206207
// Specifies whether restricted_workspace_classes should be updated
207208
optional bool update_restricted_editor_names = 7;
208209

209210
// pinned_editor_versions updates the pinned version for the corresponding
210-
// editor
211+
// editor.
212+
// Only updates if update_pinned_editor_versions is true.
211213
map<string, string> pinned_editor_versions = 8;
212214

213215
// Specifies whether pinned_editor_versions should be updated
@@ -219,6 +221,7 @@ message UpdateOrganizationSettingsRequest {
219221
// timeout_settings are the settings for workspace timeouts
220222
optional TimeoutSettings timeout_settings = 11;
221223

224+
// Only updates if update_role_restrictions is true.
222225
repeated RoleRestrictionEntry role_restrictions = 12;
223226

224227
// update_role_restrictions specifies whether role_restrictions should be
@@ -236,6 +239,10 @@ message UpdateOrganizationSettingsRequest {
236239
// annotate_git_commits specifies whether to annotate git commits created in
237240
// Gitpod workspaces with the gitpod host
238241
optional bool annotate_git_commits = 17;
242+
243+
// update_role_restrictions specifies whether role_restrictions should be
244+
// updated
245+
optional bool update_allowed_workspace_classes = 18;
239246
}
240247

241248
message UpdateOrganizationSettingsResponse {

0 commit comments

Comments
 (0)