Enable un-authenticated handler urls
Updates to depend on the latest version of XBlock, which includes support for service-to-service (thirdparty) handler urls, which aren't authenticated with a user (unlike handler requests coming from the xblock client-side javascript). Co-author: Ned Batchelder <ned@edx.org>
This commit is contained in:
@@ -115,7 +115,7 @@ class PreviewModuleSystem(ModuleSystem): # pylint: disable=abstract-method
|
||||
"""
|
||||
An XModule ModuleSystem for use in Studio previews
|
||||
"""
|
||||
def handler_url(self, block, handler_name, suffix='', query=''):
|
||||
def handler_url(self, block, handler_name, suffix='', query='', thirdparty=False):
|
||||
return handler_prefix(block, handler_name, suffix) + '?' + query
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user