Annotations: Fix composite store read (#94158)
* Annotations: Fix composite store read * Add test * check error
This commit is contained in:
@@ -175,7 +175,7 @@ func TestIntegrationAuthorize(t *testing.T) {
|
||||
|
||||
authz := NewAuthService(sql, featuremgmt.WithFeatures(tc.featureToggle))
|
||||
|
||||
query := &annotations.ItemQuery{SignedInUser: u, OrgID: 1}
|
||||
query := annotations.ItemQuery{SignedInUser: u, OrgID: 1}
|
||||
resources, err := authz.Authorize(context.Background(), query)
|
||||
require.NoError(t, err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user