If the entitlement_policy_cache.enabled value is not true within the Authorization V2 service config, then this line to log whether direct entitlements are enabled will never be hit due to short-circuited return.
Additionally, the config struct slog log override needs to be updated to include the AllowDirectEntitlements setting.
If the
entitlement_policy_cache.enabledvalue is not true within the Authorization V2 service config, then this line to log whether direct entitlements are enabled will never be hit due to short-circuited return.Additionally, the config struct slog log override needs to be updated to include the
AllowDirectEntitlementssetting.