diff --git a/dev-app-post/main/default/sharingRules/Account.sharingRules-meta.xml b/dev-app-post/main/default/sharingRules/Account.sharingRules-meta.xml index 6ef9fff5a..bd5d4a384 100644 --- a/dev-app-post/main/default/sharingRules/Account.sharingRules-meta.xml +++ b/dev-app-post/main/default/sharingRules/Account.sharingRules-meta.xml @@ -1,5 +1,43 @@ + + EDRD_Admin + Edit + + Edit + Edit + None + + + + EDRD_Admin + + + RecordTypeId + equals + Manufacturer,Patient,Provider + + true + + + EDRD_Staff + Read + + Read + Read + None + + + + EDRD_Staff + + + RecordTypeId + equals + Manufacturer,Patient,Provider + + true + ESA_Account_ShareWithSAAdminAndInternalSubordinates Edit @@ -34,24 +72,4 @@ Developer - - EDRD_Admin_and_Staff - Read - - None - Read - None - - If Account recordtype = Manufacturer/Patient/Provider, those records will be shared with users having role EDRD admins & staff - - - EDRD_Admin - - - RecordTypeId - equals - Manufacturer,Patient,Provider - - true - diff --git a/dev-app-post/main/default/sharingRules/Case.sharingRules-meta.xml b/dev-app-post/main/default/sharingRules/Case.sharingRules-meta.xml index f79c36302..510253a22 100644 --- a/dev-app-post/main/default/sharingRules/Case.sharingRules-meta.xml +++ b/dev-app-post/main/default/sharingRules/Case.sharingRules-meta.xml @@ -1,26 +1,25 @@ - ESA_Case_ShareWithSAAdminAndSubordinates + EDRD_Admin Edit - This Sharing Rule expand the access (Read/Write) of case records to lower role hierarchy of SA Admin. - + - SA_Admin + EDRD_Admin RecordTypeId equals - Special Authority Request + EDRD true - EDRD_Admin_and_Staff + EDRD_Staff Read - + - EDRD_Admin + EDRD_Staff RecordTypeId @@ -29,4 +28,19 @@ true + + ESA_Case_ShareWithSAAdminAndSubordinates + Edit + This Sharing Rule expand the access (Read/Write) of case records to lower role hierarchy of SA Admin. + + + SA_Admin + + + RecordTypeId + equals + Special Authority Request + + true + diff --git a/dev-app-post/main/default/sharingRules/UnitOfMeasure.sharingRules-meta.xml b/dev-app-post/main/default/sharingRules/UnitOfMeasure.sharingRules-meta.xml new file mode 100644 index 000000000..4b4619107 --- /dev/null +++ b/dev-app-post/main/default/sharingRules/UnitOfMeasure.sharingRules-meta.xml @@ -0,0 +1,25 @@ + + + + EDRD_Admins + Edit + + + EDRD_Admin + + + EDRD_Admin + + + + EDRD_UOM_DeveloperShareEditWithEDRDAdmin + Edit + + + EDRD_Admin + + + Developer + + + diff --git a/force-app/main/default/objects/UnitOfMeasure/UnitOfMeasure.object-meta.xml b/force-app/main/default/objects/UnitOfMeasure/UnitOfMeasure.object-meta.xml index 4b83f471c..2d0755323 100644 --- a/force-app/main/default/objects/UnitOfMeasure/UnitOfMeasure.object-meta.xml +++ b/force-app/main/default/objects/UnitOfMeasure/UnitOfMeasure.object-meta.xml @@ -135,5 +135,5 @@ UnitCode UnitCode - ReadWrite + Read