Commit 16991598 by cahrens Committed by Zia Fazal

Update course access check.

parent b2a689b1
......@@ -352,7 +352,7 @@ def xblock_container_handler(request, usage_key_string):
"""
usage_key = usage_key_with_run(usage_key_string)
if not has_course_author_access(request.user, usage_key.course_key):
if not has_studio_read_access(request.user, usage_key.course_key):
raise PermissionDenied()
response_format = request.REQUEST.get('format', 'html')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment