mirror of
https://github.com/ansible/awx.git
synced 2026-06-21 06:37:45 -02:30
Replace old RBAC Role.members.through subqueries with
RoleUserAssignment-based correlated subqueries, querying
managed RoleDefinitions ('Organization Member' / 'Organization Admin')
directly. This aligns with the DAB RBAC migration direction and
eliminates dependency on the deprecated ImplicitRoleField M2M tables
for these counts.
Update test fixtures to use RoleDefinition.give_permission() and
add setup_managed_roles where needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>