diff --git a/api/src/main/resources/db/migration/V1.0.55__EDX_API.sql b/api/src/main/resources/db/migration/V1.0.55__EDX_API.sql new file mode 100644 index 00000000..d5310837 --- /dev/null +++ b/api/src/main/resources/db/migration/V1.0.55__EDX_API.sql @@ -0,0 +1,26 @@ +DELETE FROM EDX_ROLE_PERMISSION +WHERE EDX_ROLE_CODE = 'GRAD_SCH_ADMIN' AND EDX_PERMISSION_CODE = 'GRAD_SCH_EDIT'; + +DELETE FROM EDX_ROLE_PERMISSION +WHERE EDX_ROLE_CODE = 'GRAD_DIS_ADMIN' AND EDX_PERMISSION_CODE = 'GRAD_DIS_EDIT'; + +DELETE FROM EDX_ROLE_PERMISSION +WHERE EDX_ROLE_CODE = 'GRAD_SCH_ADMIN' AND EDX_PERMISSION_CODE = 'EDX_SCHOOL_VIEW'; + +DELETE FROM EDX_ROLE_PERMISSION +WHERE EDX_ROLE_CODE = 'GRAD_DIS_ADMIN' AND EDX_PERMISSION_CODE = 'EDX_SCHOOL_VIEW'; + +DELETE FROM EDX_ROLE_PERMISSION +WHERE EDX_ROLE_CODE = 'GRAD_DIS_ADMIN' AND EDX_PERMISSION_CODE = 'EDX_DISTRICT_VIEW'; + +DELETE FROM EDX_PERMISSION +WHERE EDX_PERMISSION_CODE = 'GRAD_SCH_EDIT'; + +DELETE FROM EDX_PERMISSION +WHERE EDX_PERMISSION_CODE = 'GRAD_DIS_EDIT'; + +DELETE FROM EDX_ROLE +WHERE EDX_ROLE_CODE = 'GRAD_DIS_ADMIN'; + +DELETE FROM EDX_ROLE +WHERE EDX_ROLE_CODE = 'GRAD_SCH_ADMIN';