This PR adds support for marking CourseRuns as restricted through the CourseRun Api
Testing Instructions:
You can test it by hitting the API directly with postman or any other tool and provide the restriction_type parameter. Then verify that the RestrictedCourseRun objects are added/updated appropriately in the database.
PROD-4004
This PR adds support for marking CourseRuns as restricted through the CourseRun Api
Testing Instructions:
You can test it by hitting the API directly with postman or any other tool and provide the
restriction_type
parameter. Then verify that the RestrictedCourseRun objects are added/updated appropriately in the database.Here's how I have been doing it though.
window.restriction_type
to whatever restriction_type you want to set.