Skip to content

Commit

Permalink
Merge pull request #1003 from bcgov/User/EDRD-94
Browse files Browse the repository at this point in the history
Sprint-2 development
  • Loading branch information
deepakmulamalla authored Dec 7, 2023
2 parents e000690 + f2176e9 commit c0161e7
Show file tree
Hide file tree
Showing 12 changed files with 531 additions and 49 deletions.
15 changes: 15 additions & 0 deletions dev-app-post/main/default/profiles/Admin.profile-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -865,11 +865,26 @@
<recordType>Account.DEC</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>false</default>
<recordType>Account.Manufacturer</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>true</default>
<recordType>Case.Special_Authority_Request</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>false</default>
<recordType>Case.EDRD</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>true</default>
<recordType>Medication.EDRD</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>false</default>
<personAccountDefault>true</personAccountDefault>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,26 @@
<recordType>Account.DEC</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>false</default>
<recordType>Account.Manufacturer</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>true</default>
<recordType>Case.Special_Authority_Request</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>false</default>
<recordType>Case.EDRD</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>true</default>
<recordType>Medication.EDRD</recordType>
<visible>true</visible>
</recordTypeVisibilities>
<recordTypeVisibilities>
<default>true</default>
<personAccountDefault>true</personAccountDefault>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<SharingRules xmlns="http://soap.sforce.com/2006/04/metadata">
<sharingCriteriaRules>
<fullName>EDRD_CareProgram_ShareEditWithEDRDAdmins</fullName>
<accessLevel>Edit</accessLevel>
<description>Care Program Share Edit access With EDRD Admins</description>
<label>EDRD_CareProgram_ShareEditWithEDRDAdmins</label>
<sharedTo>
<role>EDRD_Admin</role>
</sharedTo>
<criteriaItems>
<field>Name</field>
<operation>contains</operation>
<value>EDRD</value>
</criteriaItems>
<includeRecordsOwnedByAll>true</includeRecordsOwnedByAll>
</sharingCriteriaRules>
<sharingCriteriaRules>
<fullName>EDRD_CareProgram_ShareReadWithEDRDStaff</fullName>
<accessLevel>Read</accessLevel>
<description>Care Program Share Read access With EDRD Staff</description>
<label>EDRD_CareProgram_ShareReadWithEDRDStaff</label>
<sharedTo>
<role>EDRD_Staff</role>
</sharedTo>
<criteriaItems>
<field>Name</field>
<operation>contains</operation>
<value>EDRD</value>
</criteriaItems>
<includeRecordsOwnedByAll>true</includeRecordsOwnedByAll>
</sharingCriteriaRules>
</SharingRules>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<SharingRules xmlns="http://soap.sforce.com/2006/04/metadata">
<sharingOwnerRules>
<fullName>EDRD_Medication_ShareDeveloperWithEDRDAdmins</fullName>
<accessLevel>Edit</accessLevel>
<description>Medication Share Developer owned With EDRD Admins</description>
<label>EDRD_Medication_ShareDeveloperWithEDRDAdmins</label>
<sharedTo>
<role>EDRD_Admin</role>
</sharedTo>
<sharedFrom>
<role>Developer</role>
</sharedFrom>
</sharingOwnerRules>
<sharingOwnerRules>
<fullName>EDRD_Medication_ShareWithEDRDAdmins</fullName>
<accessLevel>Edit</accessLevel>
<description>Medication Share Within EDRD Admins owned by EDRD Admins</description>
<label>EDRD_Medication_ShareWithEDRDAdmins</label>
<sharedTo>
<role>EDRD_Admin</role>
</sharedTo>
<sharedFrom>
<role>EDRD_Admin</role>
</sharedFrom>
</sharingOwnerRules>
</SharingRules>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@
</actionOverrides>
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
<enableFeeds>false</enableFeeds>
<externalSharingModel>Private</externalSharingModel>
<externalSharingModel>Read</externalSharingModel>
<searchLayouts>
<customTabListAdditionalFields>UnitCode</customTabListAdditionalFields>
<lookupDialogsAdditionalFields>UnitCode</lookupDialogsAdditionalFields>
<lookupPhoneDialogsAdditionalFields>UnitCode</lookupPhoneDialogsAdditionalFields>
<searchResultsAdditionalFields>UnitCode</searchResultsAdditionalFields>
</searchLayouts>
<sharingModel>Private</sharingModel>
<sharingModel>ReadWrite</sharingModel>
</CustomObject>
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ListView xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>All_UnitsOfMeasure</fullName>
<columns>Name</columns>
<columns>UnitCode</columns>
<columns>CreatedDate</columns>
<filterScope>Everything</filterScope>
<label>All Units of Measure</label>
</ListView>
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,36 @@
<field>CareObservation.ObservedValueType</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>CareProgram.Description</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>CareProgram.EndDate</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>CareProgram.Status</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>CareProgramEnrollee.AccountId</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>CareProgramEnrollee.Inactive_Reason__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>CareProgramEnrollee.Status</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Case.ContactId</field>
Expand Down Expand Up @@ -453,6 +483,46 @@
<field>Medication.Subcommittee__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.DIN__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.Formulation__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.IsActive</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.StrengthDenominator</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.StrengthDenominatorUnitId</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.StrengthNumerator</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.StrengthNumeratorUnitId</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>MedicinalIngredient.Unit_Price__c</field>
<readable>true</readable>
</fieldPermissions>
<hasActivationRequired>false</hasActivationRequired>
<label>EDRD MOH Staff</label>
<objectPermissions>
Expand All @@ -473,6 +543,24 @@
<object>CareObservation</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>true</allowEdit>
<allowRead>true</allowRead>
<modifyAllRecords>false</modifyAllRecords>
<object>CareProgram</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>true</allowEdit>
<allowRead>true</allowRead>
<modifyAllRecords>false</modifyAllRecords>
<object>CareProgramEnrollee</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
Expand All @@ -482,6 +570,15 @@
<object>Case</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>false</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>false</allowEdit>
<allowRead>true</allowRead>
<modifyAllRecords>false</modifyAllRecords>
<object>CodeSetBundle</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
Expand All @@ -500,6 +597,15 @@
<object>Medication</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>true</allowEdit>
<allowRead>true</allowRead>
<modifyAllRecords>false</modifyAllRecords>
<object>MedicinalIngredient</object>
<viewAllRecords>false</viewAllRecords>
</objectPermissions>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
Expand Down
Loading

0 comments on commit c0161e7

Please sign in to comment.