From 874d7cf4e6b660586efc081eef399679abc1cdbf Mon Sep 17 00:00:00 2001 From: Alexander Haase Date: Sun, 17 Aug 2025 23:54:20 +0200 Subject: [PATCH] Add ACL rule changes to ACL changelog --- netbox_acls/models/access_list_rules.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netbox_acls/models/access_list_rules.py b/netbox_acls/models/access_list_rules.py index c8a46c7..cdfa9f0 100644 --- a/netbox_acls/models/access_list_rules.py +++ b/netbox_acls/models/access_list_rules.py @@ -110,6 +110,11 @@ def get_absolute_url(self): def get_action_color(self): return ACLRuleActionChoices.colors.get(self.action) + def to_objectchange(self, action): + objectchange = super().to_objectchange(action) + objectchange.related_object = self.access_list + return objectchange + class ACLStandardRule(ACLRule): """