-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports a new top-level key in content filters: restricted_runs_allowed. The value will be a mapping of course key (str) to a list of course run key (str). Updates the customer-based contains_content_items API endpoint (`/api/v1/enterprise-customer/{enterprise_uuid}/contains_content_items/`) to serialize an additional key in the response body containing a mapping of restricted runs to catalog UUIDs for requested course keys. Fundamentally, this becomes a transposition of the reverse mapping encoded in the content filter. ENT-9358
- Loading branch information
1 parent
04c4efa
commit ac1a3a4
Showing
7 changed files
with
743 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "2.1" | ||
services: | ||
mysql: | ||
image: mysql:8.0.28-oracle | ||
|
600 changes: 600 additions & 0 deletions
600
enterprise_catalog/apps/api/v1/tests/test_enterprise_customer_views.py
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters