change post to pre deploy for manage courses reset datafix

fixes FOO-2147
refs FOO-2111
flag = granular_permissions_manage_courses

test plan:
 • migration runs

Change-Id: Id35a90397a8128693fcf4c903b7e0b586f52e6b2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/268548
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
This commit is contained in:
August Thornton 2021-07-07 09:24:05 -06:00
parent fb94bb05ca
commit 9aeb5e20bd
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
class AddManageCoursesResetRoleOverride < ActiveRecord::Migration[6.0]
tag :postdeploy
tag :predeploy
def change
DataFixup::AddRoleOverridesForNewPermission.run(:manage_courses_delete, :manage_courses_reset)