This commit is contained in:
pascal
2026-05-07 17:36:09 +02:00
parent ec476d5072
commit 40e6ec16c6

View File

@@ -894,8 +894,9 @@ func collectGroupChangeAffectedGroups(ctx context.Context, transaction store.Sto
if !policyReferencesGroups(policy, changedSet) { if !policyReferencesGroups(policy, changedSet) {
continue continue
} }
log.WithContext(ctx).Tracef("policy %s (%s) references changed groups, adding rule groups", policy.ID, policy.Name) ruleGroups := policy.RuleGroups()
for _, gID := range policy.RuleGroups() { log.WithContext(ctx).Tracef("policy %s (%s) references changed groups, adding rule groups %v", policy.ID, policy.Name, ruleGroups)
for _, gID := range ruleGroups {
groupSet[gID] = struct{}{} groupSet[gID] = struct{}{}
} }
for _, rule := range policy.Rules { for _, rule := range policy.Rules {