- Notifications
You must be signed in to change notification settings - Fork925
Commit0a12ec5
authored
fix(enterprise/coderd): skip org membership check for prebuilds user on group patch (#18329)
Currently, the prebuilds documentation states:```### Managing resource quotasPrebuilt workspaces can be used in conjunction with [resource quotas](../../users/quotas.md).Because unclaimed prebuilt workspaces are owned by the `prebuilds` user, you can:1. Configure quotas for any group that includes this user.1. Set appropriate limits to balance prebuilt workspace availability with resource constraints.If a quota is exceeded, the prebuilt workspace will fail provisioning the same way other workspaces do.```If you need to have a separate quota for prebuilds as opposed to regularusers, you are required to create a separate group, as quotas areapplied to groups.Currently it is not possible to create a separate 'prebuilds' group withonly the prebuilds user to add a quota. This PR skips the org membershipcheck specifically for the prebuilds user when patching a group.1 parent66e8dbb commit0a12ec5
2 files changed
+32
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
174 | 180 |
| |
175 | 181 |
| |
176 | 182 |
| |
|
Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
463 | 463 |
| |
464 | 464 |
| |
465 | 465 |
| |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
466 | 492 |
| |
467 | 493 |
| |
468 | 494 |
| |
|
0 commit comments
Comments
(0)