Add support to configure 'cross-tenant' at deployment.toml
<ResourceAccessControl {% if resource_access_control.default_access_allow is sameas false %} default-access="deny" {% endif %} {% if resource_access_control.disable_scope_validation is sameas true %} disable-scope-validation="true" {% endif %}>
{% for resource in resource.access_control %}
<Resource context="{{resource.context}}" secured="{{resource.secure}}"
- {% if resource.allowed_auth_handlers is defined %} allowed-auth-handlers="{{resource.allowed_auth_handlers|join(', ')}}" {% endif %} http-method="{{resource.http_method}}">
+ {% if resource.allowed_auth_handlers is defined %}
+ allowed-auth-handlers="{{resource.allowed_auth_handlers|join(', ')}}"
+ {% endif %}
+ http-method="{{resource.http_method}}"
+ {% if resource.cross_tenant is defined %}
+ cross-tenant="{{resource.cross_tenant}}"
+ {% endif %}
+ >
{% for permission in resource.permissions %}
<Permissions>{{permission}}</Permissions>
{% endfor %}
