-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #345 from bcgov/feature/reportPerms
Create V1.0.60__EDX_API.sql
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
INSERT INTO EDX_PERMISSION (EDX_PERMISSION_CODE, LABEL, DESCRIPTION, CREATE_USER, UPDATE_USER) | ||
VALUES ('GRAD_SCH_TVR_VIEW', 'GRAD School TVR View', 'GRAD view projections and tvrs reports permission for School.', 'IDIR/AVSODHI', 'IDIR/AVSODHI'); | ||
|
||
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', | ||
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_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')); |