Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(enterprise/coderd): allow system users to be added to groups#19518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SasSwart merged 20 commits intomainfromjjs/prebuilds-user-group-membership
Aug 27, 2025

Conversation

SasSwart
Copy link
Contributor

closes#18274

This pull request makes system users visible in various group related queries so that they can be added to and removed from groups. This allows system user quotas to be configured. System users are still ignored in certain queries, such as when license seat consumption is determined.

This pull request further ensures the existence of a "coder_prebuilt_workspaces" group in any organization that needs prebuilt workspaces

@SasSwartSasSwart marked this pull request as ready for reviewAugust 25, 2025 13:59
Copy link
Contributor

@ssncferreirassncferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Overall LGTM, just a question about the Quota Allowance of the prebuilds group as 0.

DisplayName:PrebuiltWorkspacesGroupDisplayName,
OrganizationID:preset.OrganizationID,
AvatarURL:"",
QuotaAllowance:0,// Default quota of 0, users should set this based on their needs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Correct me if I'm wrong, but does this mean that once this change is rolled out, no more prebuilt workspaces will be able to be provisioneduntil the Quota Allowance is changed? Or is the prebuilds user still part of theEveryone group?
Just asking because, in case there is a need for user action, we might need to consider this a breaking change and explicitly document the steps to set this allowance.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

the prebuilds user is still a member of the everyone group, so this shouldn't be too much of a breaking change.

ssncferreira reacted with thumbs up emoji
Copy link
Contributor

@ssncferreirassncferreiraAug 27, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ok, thanks for the clarification!

nit(non-blocking): It might be helpful to also add this info to the documentation, that the prebuilds user is a member of theEveryone group (which also has a quota allowance). Maybe also include a section explaining that if the quota is exceeded, the workspace build will fail and the prebuilds group quota allowance should be increased.

Co-authored-by: Susana Ferreira <susana@coder.com>
Copy link
Contributor

@ssncferreirassncferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, let's try it 🤞
Just a small non-blocking nit for documentation

DisplayName:PrebuiltWorkspacesGroupDisplayName,
OrganizationID:preset.OrganizationID,
AvatarURL:"",
QuotaAllowance:0,// Default quota of 0, users should set this based on their needs
Copy link
Contributor

@ssncferreirassncferreiraAug 27, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ok, thanks for the clarification!

nit(non-blocking): It might be helpful to also add this info to the documentation, that the prebuilds user is a member of theEveryone group (which also has a quota allowance). Maybe also include a section explaining that if the quota is exceeded, the workspace build will fail and the prebuilds group quota allowance should be increased.

@SasSwartSasSwart merged commit4e9ee80 intomainAug 27, 2025
28 checks passed
@SasSwartSasSwart deleted the jjs/prebuilds-user-group-membership branchAugust 27, 2025 14:58
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 27, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ssncferreirassncferreirassncferreira approved these changes

Assignees

@SasSwartSasSwart

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bug: Workspace prebuilds conform to the site quota, leading many to fail
2 participants
@SasSwart@ssncferreira

[8]ページ先頭

©2009-2025 Movatter.jp