def rule_list_for_tenant(request, tenant_id, **kwargs):
    rules = rule_list(request, tenant_id=tenant_id, shared=False, **kwargs)
    shared_rules = rule_list(request, shared=True, **kwargs)
    return rules + shared_rules
Return a rule list available for the tenant.
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/fwaas.py/rule_list_for_tenant