I'm trying to run a suitesuite 2.0 to check whether a customers email exists the script runs in netsuite but when using it in an extension i get a :
"INSUFFICIENT_PERMISSION","details":"Permission Violation: You need the 'Lists -> Customers' permission to access this page.
I'm guessing this is because it's an anonymous user.
("<anonymous>(/Web Site Hosting Files/Live Hosting Files/SSP Applications/NetSuite Inc. - SCA 2020.2.0/Development2/extensions/MRF/MRF_Extension/1.0.4/Modules/LoginRegister/SuiteScript2/MRF.LoginRegister.Register.Service.ss:17)"])
How would I go about this?