For a script that creates a UI page in NetSuite ERP, how can I restrict it to only allow certain roles to access that page? I don't know how to write scripts, but I downloaded
this one from Tim Dietrich that allows users to run SQL queries in NetSuite. It seems to be available for all roles, but I believe the query can be used to add and update data in NetSuite in addition to being able to export data. I only want admins to be able to add or update data via the SQL tool.