Skip to content

Commit

Permalink
Merge pull request #1047 from bcgov/Feature-ALR-1246
Browse files Browse the repository at this point in the history
feature-ALR-1246
  • Loading branch information
RanadheerRG authored Dec 16, 2024
2 parents b7926ed + 6b538c8 commit 767eedd
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,19 @@
</componentInstanceProperties>
<componentName>flexipage:fieldSection</componentName>
<identifier>flexipage_fieldSection</identifier>
<visibilityRule>
<booleanFilter>1 OR 2</booleanFilter>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_MMHA_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_SDPR_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>
<itemInstances>
Expand Down Expand Up @@ -517,6 +530,19 @@
</componentInstanceProperties>
<componentName>runtime_sales_activities:activityPanel</componentName>
<identifier>runtime_sales_activities_activityPanel</identifier>
<visibilityRule>
<booleanFilter>1 OR 2</booleanFilter>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_MMHA_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_SDPR_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>
<name>main</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,19 @@
</componentInstanceProperties>
<componentName>flexipage:fieldSection</componentName>
<identifier>flexipage_fieldSection3</identifier>
<visibilityRule>
<booleanFilter>1 OR 2</booleanFilter>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_MMHA_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_SDPR_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>
<itemInstances>
Expand Down Expand Up @@ -1583,7 +1596,7 @@
<componentName>runtime_sales_activities:activityPanel</componentName>
<identifier>runtime_sales_activities_activityPanel</identifier>
<visibilityRule>
<booleanFilter>1 OR 2 OR (3 AND 4)</booleanFilter>
<booleanFilter>1 OR 2</booleanFilter>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_MMHA_User}</leftValue>
<operator>EQUAL</operator>
Expand All @@ -1594,16 +1607,6 @@
<operator>EQUAL</operator>
<rightValue>false</rightValue>
</criteria>
<criteria>
<leftValue>{!$Permission.CustomPermission.EHIS_SDPR_User}</leftValue>
<operator>EQUAL</operator>
<rightValue>true</rightValue>
</criteria>
<criteria>
<leftValue>{!Record.LicenseType__r.Name}</leftValue>
<operator>NE</operator>
<rightValue>Seniors and Persons with Disabilities</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>
Expand Down

0 comments on commit 767eedd

Please sign in to comment.