Hide restricted runs across APIs by default. Also do not include them when calculating fields like course_run_statuses. If a query-param include_restricted=<some_value> is present, do not hide them
Testing
Create restricted runs in your system and link them with courses, programs, etc.
Run update_index
Verify that runs are hidden on all APIs by default and are revealed on adding the query params.
Internal tickets: PROD-4005 + PROD-4006
Hide restricted runs across APIs by default. Also do not include them when calculating fields like course_run_statuses. If a query-param
include_restricted=<some_value>
is present, do not hide themTesting
update_index