-
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 #273 from bcgov/fix/EDX-1950
Fix/edx 1950
- Loading branch information
Showing
1 changed file
with
27 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,27 @@ | ||
UPDATE EDX_ROLE | ||
SET LABEL = 'School Info Administrator', DESCRIPTION = 'Can edit school details and contacts.' | ||
WHERE EDX_ROLE_CODE = 'EDX_EDIT_SCHOOL'; | ||
|
||
UPDATE EDX_ROLE | ||
SET LABEL = 'District Info Administrator', DESCRIPTION = 'Can edit school and district details and contacts.' | ||
WHERE EDX_ROLE_CODE = 'EDX_EDIT_DISTRICT'; | ||
|
||
UPDATE EDX_ROLE | ||
SET LABEL = 'EDX District Account Manager', DESCRIPTION = 'Can manage the school and district''s EDX users.' | ||
WHERE EDX_ROLE_CODE = 'EDX_DISTRICT_ADMIN'; | ||
|
||
UPDATE EDX_ROLE | ||
SET LABEL = 'EDX School Account Manager', DESCRIPTION = 'Can manage the school''s EDX users.' | ||
WHERE EDX_ROLE_CODE = 'EDX_SCHOOL_ADMIN'; | ||
|
||
UPDATE EDX_ROLE | ||
SET LABEL = 'Secure Messaging', DESCRIPTION = 'Can access the school''s Secure Messaging Inbox.' | ||
WHERE EDX_ROLE_CODE = 'SECURE_EXCHANGE_SCHOOL'; | ||
|
||
UPDATE EDX_ROLE | ||
SET LABEL = 'Secure Messaging', DESCRIPTION = 'Can access the district''s Secure Messaging Inbox.' | ||
WHERE EDX_ROLE_CODE = 'SECURE_EXCHANGE_DISTRICT'; | ||
|
||
DELETE FROM EDX_ROLE_PERMISSION | ||
WHERE EDX_ROLE_CODE IN ('EDX_SCHOOL_ADMIN', 'EDX_DISTRICT_ADMIN') | ||
AND EDX_PERMISSION_CODE IN ('EDX_SCHOOL_EDIT', 'EDX_DISTRICT_EDIT', 'SECURE_EXCHANGE', 'STUDENT_DATA_COLLECTION'); |