def get_admin_permissions():
    return {get_role_permission(role) for role in get_admin_roles()}
Common function for getting the admin permissions from settings
dataset/ETHPy150Open openstack/django_openstack_auth/openstack_auth/utils.py/get_admin_permissions