File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
23
23
agentproto "github.com/coder/coder/v2/agent/proto"
24
24
"github.com/coder/coder/v2/coderd/coderdtest"
25
25
"github.com/coder/coder/v2/coderd/database"
26
+ "github.com/coder/coder/v2/coderd/database/db2sdk"
26
27
"github.com/coder/coder/v2/coderd/database/dbauthz"
27
28
"github.com/coder/coder/v2/coderd/database/dbgen"
28
29
"github.com/coder/coder/v2/coderd/database/dbrollup"
@@ -675,7 +676,7 @@ func TestTemplateInsights_Golden(t *testing.T) {
675
676
OrganizationID : firstUser .OrganizationID ,
676
677
CreatedBy : firstUser .UserID ,
677
678
GroupACL : database.TemplateACL {
678
- firstUser .OrganizationID .String (): []policy. Action { policy . ActionRead } ,
679
+ firstUser .OrganizationID .String (): db2sdk . TemplateRoleActions ( codersdk . TemplateRoleUse ) ,
679
680
},
680
681
})
681
682
err := db .UpdateTemplateVersionByID (context .Background (), database.UpdateTemplateVersionByIDParams {
You can’t perform that action at this time.
0 commit comments