{
    "admin_only": "rule:context_is_admin",
    "admin_or_owner": "rule:context_is_admin or tenant_id:%(tenant_id)s",

    "create_l2_gateway": "rule:admin_only",
    "update_l2_gateway": "rule:admin_only",
    "get_l2_gateway": "rule:admin_only",
    "delete_l2_gateway": "rule:admin_only",
    "get_l2_gateways": "rule:admin_only",

    "create_l2_gateway_connection": "rule:admin_only",
    "get_l2_gateway_connections": "rule:admin_only",
    "get_l2_gateway_connection": "rule:admin_only",
    "delete_l2_gateway_connection": "rule:admin_only"
 }
