-
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.
Ofmcc 728 view access permissions (#49)
* OFMCC-728. 1st draft commit. Backend spoofed until endpoint ready. Merging to recieve updates from main. * Committing changes in prep for merge of role security changes required for OFMCC-728. * update: OFMCC-728 (View access permissions), added a proposed solution to facility header exemption. * Updated implementation of the facility header show/hide change facility. * Added test for Menu to test conditional display. * OFMCC-728: view user/roles/facilities QA code ready checkin. * OFMCC-728 Code QA changes. * Refactored styles. Updated env banner due to h3 change. * QA code changes. * Fixed issue with button styling. * Addressed QA feedback in SettingsView.vue * Minor style updates. --------- Co-authored-by: weskubo-cgi <[email protected]>
- Loading branch information
Showing
16 changed files
with
589 additions
and
39 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
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
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 |
---|---|---|
|
@@ -77,6 +77,26 @@ const NotificationMappings = [ | |
{ back: 'ofm_is_read', front: 'isRead' }, | ||
] | ||
|
||
const UserPermissionMappings = [ | ||
{ back: 'contactid', front: 'contactId' }, | ||
{ back: 'ofm_first_name', front: 'firstName' }, | ||
{ back: 'ofm_last_name', front: 'lastName' }, | ||
{ back: 'emailaddress1', front: 'email' }, | ||
{ back: 'ccof_username', front: 'userName' }, | ||
{ back: 'ofm_portal_role', front: 'roles' }, | ||
{ back: 'ofm_is_expense_authority', front: 'isExpenseAuthority' }, | ||
{ back: 'statecode', front: 'stateCode' }, | ||
{ back: 'ofm_facility_business_bceid', front: 'facilities' }, | ||
] | ||
|
||
const FacilityMappings = [ | ||
{ back: 'ofm_bceid_facilityid', front: 'facilityId' }, | ||
{ back: '[email protected]', front: 'name' }, | ||
{ back: 'statecode', front: 'stateCode' }, | ||
{ back: 'statuscode', front: 'statusCode' }, | ||
{ back: 'ofm_facility', front: 'address' }, | ||
] | ||
|
||
module.exports = { | ||
NotificationMappings, | ||
UserProfileMappings, | ||
|
@@ -87,4 +107,6 @@ module.exports = { | |
AssistanceRequestMappings, | ||
AssistanceRequestFacilityMappings, | ||
AssistanceRequestConversationMappings, | ||
UserPermissionMappings, | ||
FacilityMappings, | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.