From 0a8b2a35f6d2a3593551ad433fbcb37960c6d6f7 Mon Sep 17 00:00:00 2001 From: Igor Androsov Date: Thu, 25 Apr 2024 12:40:46 +0900 Subject: [PATCH] Update Apex classes for sharing #147 --- force-app/main/default/classes/GGW_ApplicationCtrl.cls | 2 +- force-app/main/default/classes/GGW_ExportCtrl.cls | 2 +- force-app/main/default/classes/GGW_Util.cls | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/force-app/main/default/classes/GGW_ApplicationCtrl.cls b/force-app/main/default/classes/GGW_ApplicationCtrl.cls index 38d104b..2fa2d4c 100644 --- a/force-app/main/default/classes/GGW_ApplicationCtrl.cls +++ b/force-app/main/default/classes/GGW_ApplicationCtrl.cls @@ -7,7 +7,7 @@ * GGW_ApplicationCtrl controller class support GGW. * */ -public without sharing class GGW_ApplicationCtrl { +public with sharing class GGW_ApplicationCtrl { public static String ggGtSteObj = GGW_Grant_State__c.sobjecttype.getDescribe().getName(); public static String ggGtStLanField = GGW_Grant_State__c.Language__c.getDescribe().getName(); // -- START LWC CONtroller Methods diff --git a/force-app/main/default/classes/GGW_ExportCtrl.cls b/force-app/main/default/classes/GGW_ExportCtrl.cls index 16175b5..6ae39b9 100644 --- a/force-app/main/default/classes/GGW_ExportCtrl.cls +++ b/force-app/main/default/classes/GGW_ExportCtrl.cls @@ -7,7 +7,7 @@ * GGW_ExportCtrl controller class for VFP Export and render. * Standard controller extension used for Standard record page action */ -public without sharing class GGW_ExportCtrl { +public with sharing class GGW_ExportCtrl { public String recordId {get; set;} public String appName {get;set;} public String logoURL {get; set;} diff --git a/force-app/main/default/classes/GGW_Util.cls b/force-app/main/default/classes/GGW_Util.cls index 5f24bbc..70d894d 100644 --- a/force-app/main/default/classes/GGW_Util.cls +++ b/force-app/main/default/classes/GGW_Util.cls @@ -8,7 +8,7 @@ * GGW_Util class for support utility methods on Grant application. * Used by standard and Custom controller */ -public without sharing class GGW_Util { +public with sharing class GGW_Util { public static String ggGtSteObj = GGW_Grant_State__c.sobjecttype.getDescribe().getName(); public static String ggGtStLanField = GGW_Grant_State__c.Language__c.getDescribe().getName();