Skip to content

Commit 3ad152f

Browse files
committed
not sure what feature enablements are, but required for tests
1 parent 4bf31c0 commit 3ad152f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

enterprise/coderd/coderd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
378378
codersdk.FeatureExternalProvisionerDaemons: true,
379379
codersdk.FeatureAdvancedTemplateScheduling: true,
380380
codersdk.FeatureWorkspaceProxy: true,
381+
codersdk.FeatureUserRoleManagement: true,
381382
})
382383
if err != nil {
383384
return err

enterprise/coderd/userauth_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func TestUserOIDC(t *testing.T) {
4747
OIDCConfig: config,
4848
},
4949
LicenseOptions: &coderdenttest.LicenseOptions{
50-
Features: license.Features{codersdk.FeatureTemplateRBAC: 1},
50+
Features: license.Features{codersdk.FeatureUserRoleManagement: 1},
5151
},
5252
})
5353

@@ -93,7 +93,7 @@ func TestUserOIDC(t *testing.T) {
9393
OIDCConfig: config,
9494
},
9595
LicenseOptions: &coderdenttest.LicenseOptions{
96-
Features: license.Features{codersdk.FeatureTemplateRBAC: 1},
96+
Features: license.Features{codersdk.FeatureUserRoleManagement: 1},
9797
},
9898
})
9999

0 commit comments

Comments
 (0)