Skip to content

Commit

Permalink
Stripping grad roles for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Nov 4, 2024
1 parent ef746be commit db15862
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions api/src/main/resources/db/migration/V1.0.55__EDX_API.sql
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit db15862

Please sign in to comment.