Actionsets: Add cfg option for only writing actionsets (#88367)

* test

* test

* missed test

* fix review comments
This commit is contained in:
Eric Leijonmarck
2024-05-28 16:32:23 +01:00
committed by GitHub
parent 5f326e98c1
commit 910553df20
12 changed files with 48 additions and 34 deletions
@@ -108,7 +108,7 @@ func TestBacktesting(t *testing.T) {
})
// access control permissions store
permissionsStore := resourcepermissions.NewStore(env.SQLStore, featuremgmt.WithFeatures())
permissionsStore := resourcepermissions.NewStore(env.Cfg, env.SQLStore, featuremgmt.WithFeatures())
_, err := permissionsStore.SetUserResourcePermission(context.Background(),
accesscontrol.GlobalOrgID,
accesscontrol.User{ID: testUserId},