add informational banners when masquerading as user who would not have access due to start date

This commit is contained in:
Matthew Piatetsky
2019-01-08 17:05:20 -05:00
parent f8dc051c44
commit 5bb56fe45f
15 changed files with 95 additions and 62 deletions

View File

@@ -11,7 +11,7 @@ from operator import itemgetter
from contentstore.utils import reverse_course_url, reverse_usage_url
from contentstore.course_group_config import GroupConfiguration, CONTENT_GROUP_CONFIGURATION_NAME
from contentstore.tests.utils import CourseTestCase
from openedx.features.content_type_gating.partitions import CONTENT_GATING_PARTITION_ID
from openedx.features.content_type_gating.helpers import CONTENT_GATING_PARTITION_ID
from xmodule.partitions.partitions import Group, UserPartition, ENROLLMENT_TRACK_PARTITION_ID
from xmodule.modulestore.tests.factories import CourseFactory, ItemFactory
from xmodule.validation import StudioValidation, StudioValidationMessage