Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0ae795

Browse files
committed
Fix merge error
1 parent 293a9b0 commit b0ae795

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

coderd/coderd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ type Options struct {
124124
DERPMap *tailcfg.DERPMap
125125
SwaggerEndpoint bool
126126
SetUserGroups func(ctx context.Context, tx database.Store, userID uuid.UUID, groupNames []string) error
127-
SetUserSiteRoles func(ctx context.Context, tx database.Store, userID uuid.UUID, roles []string) error
127+
SetUserSiteRoles func(ctx context.Context, tx database.Store, userID uuid.UUID, roles []string) error
128128
TemplateScheduleStore *atomic.Pointer[schedule.TemplateScheduleStore]
129129
UserQuietHoursScheduleStore *atomic.Pointer[schedule.UserQuietHoursScheduleStore]
130130
// AppSecurityKey is the crypto key used to sign and encrypt tokens related to
@@ -1106,7 +1106,7 @@ func (api *API) CreateInMemoryProvisionerDaemon(ctx context.Context, debounce ti
11061106
}
11071107

11081108
// nolint:revive
1109-
func initExperiments(log slog.Logger, raw []string) codersdk.Experiments {
1109+
func ReadExperiments(log slog.Logger, raw []string) codersdk.Experiments {
11101110
exps := make([]codersdk.Experiment, 0, len(raw))
11111111
for _, v := range raw {
11121112
switch v {

site/src/api/typesGenerated.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,7 @@ export type FeatureName =
14971497
| "template_rbac"
14981498
| "template_restart_requirement"
14991499
| "user_limit"
1500+
| "user_role_management"
15001501
| "workspace_proxy"
15011502
export const FeatureNames: FeatureName[] = [
15021503
"advanced_template_scheduling",
@@ -1510,6 +1511,7 @@ export const FeatureNames: FeatureName[] = [
15101511
"template_rbac",
15111512
"template_restart_requirement",
15121513
"user_limit",
1514+
"user_role_management",
15131515
"workspace_proxy",
15141516
]
15151517

0 commit comments

Comments
 (0)