Skip to content

Commit

Permalink
Added district report perms
Browse files Browse the repository at this point in the history
  • Loading branch information
SodhiA1 committed Nov 19, 2024
1 parent 6201905 commit e8f6fe4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions api/src/main/resources/db/migration/V1.0.60__EDX_API.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ VALUES ('GRAD_SCH_TVR_VIEW', 'GRAD School TVR View', 'GRAD view projections and
INSERT INTO EDX_PERMISSION (EDX_PERMISSION_CODE, LABEL, DESCRIPTION, CREATE_USER, UPDATE_USER)
VALUES ('GRAD_SCH_RPT_VIEW', 'GRAD School Reports View', 'GRAD view reports and transcripts permission for School.', 'IDIR/AVSODHI', 'IDIR/AVSODHI');

INSERT INTO EDX_PERMISSION (EDX_PERMISSION_CODE, LABEL, DESCRIPTION, CREATE_USER, UPDATE_USER)
VALUES ('GRAD_DIS_TVR_VIEW', 'GRAD District TVR View', 'GRAD view projections and tvrs reports permission for District.', 'IDIR/AVSODHI', 'IDIR/AVSODHI');

INSERT INTO EDX_PERMISSION (EDX_PERMISSION_CODE, LABEL, DESCRIPTION, CREATE_USER, UPDATE_USER)
VALUES ('GRAD_DIS_RPT_VIEW', 'GRAD District Reports View', 'GRAD view reports and transcripts permission for District.', 'IDIR/AVSODHI', 'IDIR/AVSODHI');

INSERT INTO EDX_ROLE_PERMISSION (EDX_ROLE_PERMISSION_ID, EDX_ROLE_CODE, EDX_PERMISSION_CODE, CREATE_USER, CREATE_DATE,
UPDATE_USER, UPDATE_DATE)
VALUES (gen_random_uuid(), 'GRAD_SCH_ADMIN', 'GRAD_SCH_TVR_VIEW', 'IDIR/AVSODHI',
Expand All @@ -12,4 +18,14 @@ VALUES (gen_random_uuid(), 'GRAD_SCH_ADMIN', 'GRAD_SCH_TVR_VIEW', 'IDIR/AVSODHI'
INSERT INTO EDX_ROLE_PERMISSION (EDX_ROLE_PERMISSION_ID, EDX_ROLE_CODE, EDX_PERMISSION_CODE, CREATE_USER, CREATE_DATE,
UPDATE_USER, UPDATE_DATE)
VALUES (gen_random_uuid(), 'GRAD_SCH_ADMIN', 'GRAD_SCH_RPT_VIEW', 'IDIR/AVSODHI',
to_date('2024-11-18', 'YYYY-MM-DD'), 'IDIR/AVSODHI', to_date('2024-11-18', 'YYYY-MM-DD'));

INSERT INTO EDX_ROLE_PERMISSION (EDX_ROLE_PERMISSION_ID, EDX_ROLE_CODE, EDX_PERMISSION_CODE, CREATE_USER, CREATE_DATE,
UPDATE_USER, UPDATE_DATE)
VALUES (gen_random_uuid(), 'GRAD_DIS_ADMIN', 'GRAD_DIS_TVR_VIEW', 'IDIR/AVSODHI',
to_date('2024-11-18', 'YYYY-MM-DD'), 'IDIR/AVSODHI', to_date('2024-11-18', 'YYYY-MM-DD'));

INSERT INTO EDX_ROLE_PERMISSION (EDX_ROLE_PERMISSION_ID, EDX_ROLE_CODE, EDX_PERMISSION_CODE, CREATE_USER, CREATE_DATE,
UPDATE_USER, UPDATE_DATE)
VALUES (gen_random_uuid(), 'GRAD_DIS_ADMIN', 'GRAD_DIS_RPT_VIEW', 'IDIR/AVSODHI',
to_date('2024-11-18', 'YYYY-MM-DD'), 'IDIR/AVSODHI', to_date('2024-11-18', 'YYYY-MM-DD'));

0 comments on commit e8f6fe4

Please sign in to comment.