diff --git a/dev-app-post/main/default/profiles/MoH Standard User.profile-meta.xml b/dev-app-post/main/default/profiles/MoH Standard User.profile-meta.xml index e42af186f..7bb8054f7 100644 --- a/dev-app-post/main/default/profiles/MoH Standard User.profile-meta.xml +++ b/dev-app-post/main/default/profiles/MoH Standard User.profile-meta.xml @@ -2,8 +2,13 @@ MoH Standard User - Case_Management + Home true + ture + + + Case_Management + false false @@ -179,9 +184,9 @@ true - true + false Case.Special_Authority_Request - true + false true diff --git a/dev-app-post/main/default/roles/Developer.role-meta.xml b/dev-app-post/main/default/roles/Developer.role-meta.xml new file mode 100644 index 000000000..d9a49afe1 --- /dev/null +++ b/dev-app-post/main/default/roles/Developer.role-meta.xml @@ -0,0 +1,8 @@ + + + None + Edit + false + Developer + Edit + diff --git a/dev-app-post/main/default/roles/SA_Admin.role-meta.xml b/dev-app-post/main/default/roles/SA_Admin.role-meta.xml new file mode 100644 index 000000000..8b1547b96 --- /dev/null +++ b/dev-app-post/main/default/roles/SA_Admin.role-meta.xml @@ -0,0 +1,8 @@ + + + None + Edit + false + SA Admin + Edit + diff --git a/dev-app-post/main/default/roles/SA_Manager.role-meta.xml b/dev-app-post/main/default/roles/SA_Manager.role-meta.xml new file mode 100644 index 000000000..a9badeaf3 --- /dev/null +++ b/dev-app-post/main/default/roles/SA_Manager.role-meta.xml @@ -0,0 +1,9 @@ + + + None + Edit + false + SA Manager + Edit + SA_Admin + diff --git a/dev-app-post/main/default/roles/SA_Staff.role-meta.xml b/dev-app-post/main/default/roles/SA_Staff.role-meta.xml new file mode 100644 index 000000000..b5d010912 --- /dev/null +++ b/dev-app-post/main/default/roles/SA_Staff.role-meta.xml @@ -0,0 +1,9 @@ + + + None + Edit + false + SA Staff + Edit + SA_Manager + diff --git a/force-app/main/default/applications/Home.app-meta.xml b/force-app/main/default/applications/Home.app-meta.xml new file mode 100644 index 000000000..3a4a3b767 --- /dev/null +++ b/force-app/main/default/applications/Home.app-meta.xml @@ -0,0 +1,19 @@ + + + + #0070D2 + false + + This is the Default Landing Page + Small + Large + false + true + false + false + + Standard + standard-home + Lightning + Home_UtilityBar + diff --git a/force-app/main/default/flexipages/Home.flexipage-meta.xml b/force-app/main/default/flexipages/Home.flexipage-meta.xml new file mode 100644 index 000000000..a73583a36 --- /dev/null +++ b/force-app/main/default/flexipages/Home.flexipage-meta.xml @@ -0,0 +1,40 @@ + + + + top + Region + + + bottomLeft + Region + + + + + + context + BOOKMARKS + + forceChatter:exposedFeed + forceChatter_exposedFeed + + + bottomRight + Region + + + + + runtime_sales_activities:todayTaskContainer + runtime_sales_activities_todayTaskContainer + + + sidebar + Region + + Home + + HomePage + diff --git a/force-app/main/default/flexipages/Home_UtilityBar.flexipage-meta.xml b/force-app/main/default/flexipages/Home_UtilityBar.flexipage-meta.xml new file mode 100644 index 000000000..01561b901 --- /dev/null +++ b/force-app/main/default/flexipages/Home_UtilityBar.flexipage-meta.xml @@ -0,0 +1,20 @@ + + + + utilityItems + Region + + + backgroundComponents + Background + + Home UtilityBar + + UtilityBar + diff --git a/force-app/main/default/objects/Account/listViews/All_Patients.listView-meta.xml b/force-app/main/default/objects/Account/listViews/All_Patients.listView-meta.xml index 41757aa62..13e8c4777 100644 --- a/force-app/main/default/objects/Account/listViews/All_Patients.listView-meta.xml +++ b/force-app/main/default/objects/Account/listViews/All_Patients.listView-meta.xml @@ -13,7 +13,7 @@ equals PersonAccount.Patient - + All_SAT_Team_Members diff --git a/force-app/main/default/objects/Account/listViews/All_Providers.listView-meta.xml b/force-app/main/default/objects/Account/listViews/All_Providers.listView-meta.xml index 469f4357e..5df5a32a1 100644 --- a/force-app/main/default/objects/Account/listViews/All_Providers.listView-meta.xml +++ b/force-app/main/default/objects/Account/listViews/All_Providers.listView-meta.xml @@ -14,7 +14,7 @@ equals PersonAccount.Provider - + All_SAT_Team_Members diff --git a/force-app/main/default/objects/Case/listViews/Migraine_Queue_Case.listView-meta.xml b/force-app/main/default/objects/Case/listViews/Migraine_Queue_Case.listView-meta.xml new file mode 100644 index 000000000..10d7af716 --- /dev/null +++ b/force-app/main/default/objects/Case/listViews/Migraine_Queue_Case.listView-meta.xml @@ -0,0 +1,17 @@ + + + Migraine_Queue_Case + CASES.CASE_NUMBER + NAME + CASES.SUBJECT + CASES.STATUS + CASES.PRIORITY + CASES.CREATED_DATE + CORE.USERS.ALIAS + Queue + + Migraine_Queue + + All_SAT_Team_Members + + diff --git a/force-app/main/default/objects/Case/listViews/Omalizumab_Case.listView-meta.xml b/force-app/main/default/objects/Case/listViews/Omalizumab_Case.listView-meta.xml new file mode 100644 index 000000000..c4adbb73c --- /dev/null +++ b/force-app/main/default/objects/Case/listViews/Omalizumab_Case.listView-meta.xml @@ -0,0 +1,17 @@ + + + Omalizumab_Case + CASES.CASE_NUMBER + NAME + CASES.SUBJECT + CASES.STATUS + CASES.PRIORITY + CASES.CREATED_DATE + CORE.USERS.ALIAS + Queue + + Omalizumab + + All_SAT_Team_Members + + diff --git a/force-app/main/default/objects/Case/listViews/Service_Case_Case.listView-meta.xml b/force-app/main/default/objects/Case/listViews/Service_Case_Case.listView-meta.xml new file mode 100644 index 000000000..a0a1583e9 --- /dev/null +++ b/force-app/main/default/objects/Case/listViews/Service_Case_Case.listView-meta.xml @@ -0,0 +1,17 @@ + + + Service_Case_Case + CASES.CASE_NUMBER + NAME + CASES.SUBJECT + CASES.STATUS + CASES.PRIORITY + CASES.CREATED_DATE + CORE.USERS.ALIAS + Queue + + Service_Case + + All_SAT_Team_Members + + diff --git a/force-app/main/default/objects/Case/validationRules/SAT_Validate_Case_Owner.validationRule-meta.xml b/force-app/main/default/objects/Case/validationRules/SAT_Validate_Case_Owner.validationRule-meta.xml new file mode 100644 index 000000000..ec06d3759 --- /dev/null +++ b/force-app/main/default/objects/Case/validationRules/SAT_Validate_Case_Owner.validationRule-meta.xml @@ -0,0 +1,8 @@ + + + SAT_Validate_Case_Owner + true + The purpose of this rule is that only SAT cases can be assigned to SAT queues and SAT Users + AND(RecordType.DeveloperName ="Special_Authority_Request", ISCHANGED( OwnerId ), NOT(OR(Owner:Queue.DeveloperName = "General_Queue", Owner:Queue.DeveloperName = "AC", Owner:Queue.DeveloperName = "AR", Owner:Queue.DeveloperName = "Compounds", Owner:Queue.DeveloperName = "Hep", Owner:Queue.DeveloperName = "IBD", Owner:Queue.DeveloperName = "IPF_Benra_Mepo", Owner:Queue.DeveloperName = "Insulin_Pumps", Owner:Queue.DeveloperName = "MS", Owner:Queue.DeveloperName = "OAB", Owner:Queue.DeveloperName = "OP", Owner:Queue.DeveloperName = "Off_Label_AR", Owner:Queue.DeveloperName = "PAH", Owner:Queue.DeveloperName = "PP", Owner:Queue.DeveloperName = "Regular", Owner:Queue.DeveloperName = "SAP", Owner:Queue.DeveloperName = "Urgent", Owner:Queue.DeveloperName = "eForm_Failure", Owner:Queue.DeveloperName = "Pharmacist_Regular_Queue", Owner:Queue.DeveloperName = "Pharmacist_Urgent_Queue", Owner:Queue.DeveloperName = "To_be_faxed_queue", Owner:Queue.DeveloperName = "HIBC_Error_Report_Queue", Owner:Queue.DeveloperName = "Fax_Intake", Owner:Queue.DeveloperName = "LCA", Owner:Queue.DeveloperName = "Omalizumab", Owner:Queue.DeveloperName = "Evolocumab_Queue", Owner:Queue.DeveloperName = "Service_Case", Owner:Queue.DeveloperName = "Migraine_Queue")), NOT(OR(Owner:User.UserRole.Name = "Developer",Owner:User.UserRole.Name = "SA Admin",Owner:User.UserRole.Name = "SA Manager",Owner:User.UserRole.Name = "SA Staff"))) + SAT cases can only be assigned to SAT queues. + diff --git a/force-app/main/default/permissionsets/MoH_Standard_User.permissionset-meta.xml b/force-app/main/default/permissionsets/MoH_Standard_User.permissionset-meta.xml index d07bc8c31..435067140 100644 --- a/force-app/main/default/permissionsets/MoH_Standard_User.permissionset-meta.xml +++ b/force-app/main/default/permissionsets/MoH_Standard_User.permissionset-meta.xml @@ -1093,10 +1093,6 @@ true CreateCustomizeFilters - - true - EditPublicFilters - true RunFlow diff --git a/sfdx-project.json b/sfdx-project.json index 24348b3e8..b1ec578e2 100644 --- a/sfdx-project.json +++ b/sfdx-project.json @@ -521,6 +521,15 @@ "Special Authority App@12.0.8-7": "04tOG0000008flxYAA", "Special Authority App@12.0.8-8": "04tOG000000A0efYAC", "Special Authority App@12.0.8-9": "04tOG000000FoanYAC", - "Special Authority App@12.0.8-10": "04tOG000000Foe1YAC" + "Special Authority App@12.0.8-10": "04tOG000000Foe1YAC", + "Special Authority App@12.0.8-11": "04tOG000000FohFYAS", + "Special Authority App@12.0.8-12": "04tOG000000Fxe6YAC", + "Special Authority App@12.0.8-13": "04tOG000000FzCrYAK", + "Special Authority App@12.0.8-14": "04tOG000000FzETYA0", + "Special Authority App@12.0.8-15": "04tOG000000FzZRYA0", + "Special Authority App@12.0.8-16": "04tOG000000Fzb3YAC", + "Special Authority App@12.0.8-17": "04tOG000000FzcfYAC", + "Special Authority App@12.0.8-18": "04tOG000000FzeHYAS", + "Special Authority App@12.0.8-19": "04tOG000000FzftYAC" } } \ No newline at end of file