File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import (
29
29
"github.com/coder/coder/v2/coderd/database/dbrollup"
30
30
"github.com/coder/coder/v2/coderd/database/dbtestutil"
31
31
"github.com/coder/coder/v2/coderd/rbac"
32
- "github.com/coder/coder/v2/coderd/rbac/policy"
33
32
"github.com/coder/coder/v2/coderd/workspaceapps"
34
33
"github.com/coder/coder/v2/coderd/workspacestats"
35
34
"github.com/coder/coder/v2/codersdk"
@@ -1574,7 +1573,7 @@ func TestUserActivityInsights_Golden(t *testing.T) {
1574
1573
OrganizationID : firstUser .OrganizationID ,
1575
1574
CreatedBy : firstUser .UserID ,
1576
1575
GroupACL : database.TemplateACL {
1577
- firstUser .OrganizationID .String (): []policy. Action { policy . ActionRead } ,
1576
+ firstUser .OrganizationID .String (): db2sdk . TemplateRoleActions ( codersdk . TemplateRoleUse ) ,
1578
1577
},
1579
1578
})
1580
1579
err := db .UpdateTemplateVersionByID (context .Background (), database.UpdateTemplateVersionByIDParams {
You can’t perform that action at this time.
0 commit comments