RedHatInsights / entitlements-config

Entitlements API service config
4 stars 19 forks source link

Swap `use_valid_acc_num` with `use_valid_org_id` #56

Closed coderbydesign closed 2 years ago

coderbydesign commented 2 years ago

This will swap all bundles defined by use_valid_acc_num to start using use_valid_org_id instead. This will require that a valid org_id exist on the identity header of the request.

This change will be transparent currently, as any request that comes into the gateway will have both an account_number and org_id. In the future, once we allow traffic into the gateway without an account_number, requests from accounts which previously would have been rejected because of no account_number, will then be allowed.