Skip to content

Commit 1116fd6

Browse files
committed
the negative
1 parent 16ad4fd commit 1116fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible_base/rbac/models/role.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def ignore_relations(self):
332332
if 'ansible_base.resource_registry' in settings.INSTALLED_APPS:
333333
from ansible_base.resource_registry.registry import get_registry
334334

335-
if 'dab_rbac.RoleDefinition' in get_registry().registry:
335+
if 'dab_rbac.RoleDefinition' not in get_registry().registry:
336336
return self._base_ignore_relations + ['resource']
337337

338338
return self._base_ignore_relations

0 commit comments

Comments
 (0)