canvas-lms/db/migrate/20151202171705_add_permissi...

13 lines
323 B
Ruby

class AddPermissionsForModeratedGrading < ActiveRecord::Migration
tag :postdeploy
def self.up
DataFixup::CopyRoleOverrides.send_later_if_production_enqueue_args(:run,
{:priority => Delayed::LOW_PRIORITY, :max_attempts => 1},
:manage_account_settings, :moderate_grades)
end
def self.down
end
end