provide user_id for xmodules
This commit is contained in:
@@ -208,6 +208,7 @@ def get_module(user, request, location, student_module_cache, position=None):
|
||||
shared_module = None
|
||||
|
||||
instance_state = instance_module.state if instance_module is not None else None
|
||||
instance_state = json.dumps(dict(json.loads(instance_state).items() + [("user_id", user.id)]))
|
||||
shared_state = shared_module.state if shared_module is not None else None
|
||||
|
||||
# Setup system context for module instance
|
||||
|
||||
Reference in New Issue
Block a user