feat: 优化命令过滤器支持关联节点;

pull/8935/head
Jiangjie.Bai 2 years ago
parent df31f47c68
commit fae5d07df6

@ -212,7 +212,7 @@ class CommandFilterRule(OrgModelMixin):
node = get_object_or_none(Node, pk=node_id)
if node:
org_id = node.org_id
nodes.append(node)
nodes.extend(list(node.get_ancestors(with_self=True)))
system_user = get_object_or_none(SystemUser, pk=system_user_id)
application = get_object_or_none(Application, pk=application_id)

Loading…
Cancel
Save