Michael Terry
3030efec78
AA-177: Add masquerading for course home MFE
...
- Looks at masquerading config for dates, outline, metadata, and
celebration APIs in course_home_api / courseware_api.
- Consolidates and cleans up places we check whether masquerading
gives us full access to a course.
2020-06-29 12:37:47 -04:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Matthew Piatetsky
8d8626ca1f
address comments
2019-11-01 13:41:01 -04:00
Matthew Piatetsky
c2774083ea
create table that excludes enrollments from FBE
2019-10-31 16:30:52 -04:00
Wei Lee
1d5a72ac33
INCR-236 ( #20502 )
...
* INCR-236
* Run python-modernize on openedx/features/course_duration_limits and
verify that the change makes sense and tests does not break
* Remove redundant import and update docstring style
2019-05-23 11:53:58 -04:00
Matthew Piatetsky
62b9bb89c8
Change content_type_gating enabled_for_enrollment to return false if a course has no verified mode or a user is not enrolled in the audit mode
2019-04-14 16:32:13 -04:00
Matthew Piatetsky
74bcc29417
Remove FEATURE_BASED_ENROLLMENT_GLOBAL_KILL_FLAG
2019-03-07 15:46:33 -05:00
Matthew Piatetsky
49ae6b9d73
Remove CONTENT_TYPE_GATING flag
2019-03-07 15:46:33 -05:00
Matthew Piatetsky
80c9d04b83
Merge pull request #19947 from edx/REVMI-67
...
REVMI-67 update description to describe datetime as user local time
2019-03-07 09:18:38 -05:00
Matthew Piatetsky
9740746e9f
update description to describe datetime as user local time
2019-03-06 10:48:15 -05:00
Matthew Piatetsky
fd00ce1d0b
stop ignoring enrollment creation date if the user is masquerading
2019-03-05 16:05:17 -05:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
Matthew Piatetsky
5bb56fe45f
add informational banners when masquerading as user who would not have access due to start date
2019-01-10 11:06:30 -05:00
Matthew Piatetsky
c9dc4d116f
clean up where access checks happen
2019-01-07 17:02:33 -05:00
Bill Filler
c253374372
Conditionalize track selection based on settings of course duration and content gating
2019-01-07 09:47:37 -05:00
Matthew Piatetsky
1396ca9173
Ignore enrollment date for FBE when masquerading
2018-12-26 20:29:44 -05:00
Bessie Steinberg
6f2a2785e8
REVE-154 FBE Global Kill Switch
...
Create a global kill switch for feature based enrollment. To turn on
the kill switch (and turn off both course duration gating and content
type gating) enable a waffle flag named:
'content_type_gating.global_kill_switch'
2018-12-14 09:36:56 -05:00
Matthew Piatetsky
93f6dfa330
Remove username from holdback key
2018-12-12 20:46:45 -05:00
Matthew Piatetsky
14a899a65d
REVE-104 & REVE-108: Ensure Course Roles' Access
2018-12-07 16:39:09 -05:00
Gabe Mulley
3c5caaf762
REVE-103: Fix masquerade for feature based enrollments
2018-12-03 12:05:00 -05:00
Calen Pennington
bced52b728
Merge pull request #19334 from cpennington/enabled-as-of-datetime
...
Enabled as of datetime
2018-11-30 15:09:11 -05:00
Calen Pennington
31047260cc
Switch ContentTypeGatingConfig.enabled_as_of and CourseDurationLimitConfig.enabled_as_of to datetimes
2018-11-30 10:02:53 -05:00
Matthew Piatetsky
bbfbd43cb7
Merge pull request #19335 from edx/REVE-108
...
Ensure staff users do not see expiration banner
2018-11-29 12:42:25 -05:00
Calen Pennington
af86f7856c
Merge pull request #19333 from cpennington/enable-content-gate-partition-when-override-enabled
...
Enable content gate partition when override enabled
2018-11-29 10:59:47 -05:00
Matthew Piatetsky
08301a484e
Ensure staff users do not see expiration banner
2018-11-29 09:45:49 -05:00
Matthew Piatetsky
815acda002
Populate experiment data with holdback key post enrollment and check holdback key when setting user group
2018-11-28 13:40:57 -05:00
Calen Pennington
2a42628e19
Put actual data in ContentTypeGatingConfig and CourseDurationLimitConfig __str__ methods
2018-11-28 12:19:33 -05:00
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -05:00