-
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.
Added new roles for school & district read only SDC
- Loading branch information
1 parent
94784a3
commit fc9d2c5
Showing
1 changed file
with
43 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,43 @@ | ||
UPDATE EDX_ROLE | ||
SET label = 'Superintendent' | ||
WHERE EDX_ROLE_CODE = 'SUPERINT'; | ||
|
||
UPDATE EDX_ROLE | ||
SET label = 'Secretary Treasurer' | ||
WHERE EDX_ROLE_CODE = 'SECR_TRES'; | ||
|
||
INSERT INTO EDX_ROLE (EDX_ROLE_CODE, LABEL, IS_DISTRICT_ROLE, DESCRIPTION, CREATE_USER, UPDATE_USER) | ||
VALUES ('DIS_SDC_RO', 'District 1701 Read-Only', TRUE, '1701 Read-Only role for District.', 'IDIR/MVILLENE', 'IDIR/MVILLENE'); | ||
|
||
INSERT INTO EDX_ROLE (EDX_ROLE_CODE, LABEL, IS_DISTRICT_ROLE, DESCRIPTION, CREATE_USER, UPDATE_USER) | ||
VALUES ('SCH_SDC_RO', 'School 1701 Read-Only', TRUE, '1701 Read-Only role for School.', 'IDIR/MVILLENE', 'IDIR/MVILLENE'); | ||
|
||
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(), 'SCH_SDC_RO', 'SCH_SDC_RO', 'IDIR/MVILLENE', | ||
to_date('2019-11-07', 'YYYY-MM-DD'), 'IDIR/MVILLENE', to_date('2019-11-07', '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(), 'DIS_SDC_RO', 'SCH_SDC_RO', 'IDIR/MVILLENE', | ||
to_date('2019-11-07', 'YYYY-MM-DD'), 'IDIR/MVILLENE', to_date('2019-11-07', '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(), 'DIS_SDC_RO', 'DIS_SDC_RO', 'IDIR/MVILLENE', | ||
to_date('2019-11-07', 'YYYY-MM-DD'), 'IDIR/MVILLENE', to_date('2019-11-07', '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(), 'SCH_SDC_RO', 'EDX_SCHOOL_VIEW', 'IDIR/MVILLENE', | ||
to_date('2019-11-07', 'YYYY-MM-DD'), 'IDIR/MVILLENE', to_date('2019-11-07', '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(), 'DIS_SDC_RO', 'EDX_SCHOOL_VIEW', 'IDIR/MVILLENE', | ||
to_date('2019-11-07', 'YYYY-MM-DD'), 'IDIR/MVILLENE', to_date('2019-11-07', '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(), 'DIS_SDC_RO', 'EDX_DISTRICT_VIEW', 'IDIR/MVILLENE', | ||
to_date('2019-11-07', 'YYYY-MM-DD'), 'IDIR/MVILLENE', to_date('2019-11-07', 'YYYY-MM-DD')); |