You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop can_execute_unsafe_code and the unsafely argument #350
). openedx/openedx-platform#39429 drops the platform's last read of COURSES_WITH_UNSAFE_CODE, so the platform's SandboxService.can_execute_unsafe_code always returns False and only stays because ProblemBlock still reads it when it builds the LoncapaSystem:
Stop reading can_execute_unsafe_code from the sandbox service in ProblemBlock, and drop the can_execute_unsafe_code argument from LoncapaSystem.
Drop the unsafely argument from safe_exec, and the calls in capa_problem.py and responsetypes.py that pass it.
Both are breaking, so they go in a major release. Once the platform is on that release, the SandboxService.can_execute_unsafe_code shim in xmodule/util/sandboxing.py and the can_execute_unsafe_code arguments in the platform's xmodule/capa_block.py can go too.
Activity
feat!: stop reading COURSES_WITH_UNSAFE_CODE
feat!: stop reading COURSES_WITH_UNSAFE_CODE
feat!: stop reading COURSES_WITH_UNSAFE_CODE
feat!: stop reading COURSES_WITH_UNSAFE_CODE