1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-26 16:25:06 +03:00

Initial check

This commit is contained in:
Jeff Bradberry 2024-04-30 08:56:19 -04:00
parent fb860d76ce
commit b17f0a188b
2 changed files with 8 additions and 0 deletions

2
tools/scripts/ig-hotfix/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*~
customer-backup.tar.*

View File

@ -0,0 +1,6 @@
from collections import Counter
from awx.main.models.rbac import Role
print(Counter(r.id == getattr(getattr(r.content_object, r.role_field, None), 'id', None) for r in Role.objects.all() if r.content_type))