Make xuserid header optional for GC in the default policies.

This MR fixes the following issue, since GC implementation doesn't use ISTIO to populate the x-user-id header, the rules entitlements.rego and legal.rego fail when the header is not provided.

Edited by Yan Sushchynski [EPAM/GC]

Merge request reports

Loading