Files
edx-platform/lms/djangoapps/course_api
Paulo Viadanna e6e0a02e0a Adds CouseModule.course_visibility and XBlock.public_view() for unenrolled users access to courses.
The course_visiblity field can have one of three values:
1. private (default): This keeps the standard access rules.
2. public_outline: Allows unenrolled and anonymous users access to the outline.
3. public: Allows unenrolled and anonymous users access to both outline and
   course content.

When an unenrolled user accesses course content, instead of student_view(),
public_view() is used. A default implementation is provided for XBlocks
which do not implement this view. The public_view() must not have any
functionality which assumes the presence of a valid User and should show
a readonly only interface for the XBlock content.
2018-11-07 16:18:39 +05:00
..
2018-06-13 16:59:32 +05:00
2017-06-11 21:48:06 -04:00
2018-02-17 17:23:05 +02:00
2015-11-24 15:54:03 +00:00
2017-11-06 16:06:00 -05:00
2018-11-02 11:06:59 -04:00