Add an automatic UserPartition and Scheme for Content Type Gating.

For now, this UserPartition groups all users as Full-access users.
This commit is contained in:
Calen Pennington
2018-10-02 13:45:22 -04:00
parent 0adb654724
commit 99f8918b74
6 changed files with 186 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ setup(
"cohort = openedx.core.djangoapps.course_groups.partition_scheme:CohortPartitionScheme",
"verification = openedx.core.djangoapps.user_api.partition_schemes:ReturnGroup1PartitionScheme",
"enrollment_track = openedx.core.djangoapps.verified_track_content.partition_scheme:EnrollmentTrackPartitionScheme",
"content_type_gate = openedx.features.content_type_gating.partitions:ContentTypeGatingPartitionScheme",
],
"openedx.block_structure_transformer": [
"library_content = lms.djangoapps.course_blocks.transformers.library_content:ContentLibraryTransformer",