mirror of
https://github.com/ansible/awx.git
synced 2026-01-27 16:41:29 -03:30
15 lines
279 B
Python
15 lines
279 B
Python
from collections import defaultdict
|
|
import os
|
|
import sys
|
|
|
|
from django.contrib.contenttypes.models import ContentType
|
|
|
|
from awx.main.fields import ImplicitRoleField
|
|
from awx.main.models.rbac import Role
|
|
|
|
|
|
r_id = int(os.environ.get('role'))
|
|
r = Role.objects.get(id=r_id)
|
|
|
|
print(r)
|