How do I give an Employee user access to select Em...
# ask-stanley-ai
a
How do I give an Employee user access to select Employees in a List/Record field, but not to view any part of the Employee records?
c
AI generated answer (using internal Slack threads):
To give an Employee user access to select Employees in a List/Record field, but not to view any part of the Employee records, you can follow these steps: 1. Create a custom role that has the necessary permissions to access the List/Record field but does not have permissions to view Employee records. In NetSuite, you can do this by navigating to Setup > Users/Roles > Manage Roles > New. 2. Assign the custom role to the Employee user. This can be done by going to Lists > Employees > Employees, selecting the Employee user, and then adding the custom role under the 'Access' tab. 3. If you have server-side scripts that require Lists > Employees access, you can set up the deployment to
execute as role
. This means the script will run with the permissions of the specified role, not the permissions of the user who triggered the script. 4. If you have client-side scripts that require Lists > Employees access, you may need to rewrite them to make calls to Suitelets to get your data. This is because client-side scripts run with the permissions of the user who triggered the script, and you cannot restrict a role from accessing data it has permission to access. 5. If you have a custom field of type dropdown list and you want to prevent users from adding new records through the list, you need to set the access to the record that is being listed to 'view' at the role level. This means the user will be able to see the list but will not see the plus button to add new records. Remember, these steps only provide a high-level overview and the actual implementation may vary based on your specific requirements and NetSuite setup. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835726321
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834052861
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833551228
Please provide your feedback on this answer.