added the ability to prohibit network access for code submissions executed using Docker
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class AddNetworkEnabledToExecutionEnvironments < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :execution_environments, :network_enabled, :boolean
|
||||
|
||||
reversible do |direction|
|
||||
direction.up do
|
||||
ExecutionEnvironment.update_all(network_enabled: true)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user