-
Notifications
You must be signed in to change notification settings - Fork 956
feat(enterprise/coderd): allow system users to be added to groups #18341
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
6b3a731
4b63826
90b9078
af7c7cd
1cd68e3
4c0c4d4
93c46e9
b3728d3
efdfe9f
8204ec2
92760d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -862,12 +862,12 @@ func TestGroup(t *testing.T) { | |
// The 'Everyone' group always has an ID that matches the organization ID. | ||
group, err := userAdminClient.Group(ctx, user.OrganizationID) | ||
require.NoError(t, err) | ||
require.Len(t, group.Members, 4) | ||
require.Len(t, group.Members, 5) | ||
require.Equal(t, "Everyone", group.Name) | ||
require.Equal(t, user.OrganizationID, group.OrganizationID) | ||
require.Contains(t, group.Members, user1.ReducedUser) | ||
require.Contains(t, group.Members, user2.ReducedUser) | ||
require.NotContains(t, group.Members, prebuildsUser.ReducedUser) | ||
require.Contains(t, group.Members, prebuildsUser.ReducedUser) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we include system users in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do think we should include the prebuilds user in the Everyone group at least until we have a second "system user". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mtojek Would you be able to provide consensus or this? |
||
}) | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.