workflow to restrict viewing tasks by employee gro...
# ask-stanley-ai
s
workflow to restrict viewing tasks by employee group
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that you can restrict viewing tasks by employee group using a workflow in NetSuite. However, it might not provide the best user experience. If you are dealing with sensitive information and want to restrict employees from viewing others' information, you might face some challenges. If the script is server-side, you can set up the deployment to
execute as role
. However, if there are both server-side scripts and client scripts, you might have a hard time restricting a role from accessing data it has permission to access. In this case, you might have better luck rewriting the client scripts to make calls to suitelets to get your data. If you want to restrict users from changing role assignments or "give access" but still allow them to edit employee records, you can create a form that hides the access tab and then restrict the roles to only be able to use that form. This seems to be the most straightforward way, unless you want to build something unnecessarily complicated with scripting and/or workflows. You can also add some saved search alerting on top if you want to ensure security. Remember to restrict the forms to the different groups to ensure that only the intended users have access. ****** 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.829540431
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820681095
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819363713
Please provide your feedback on this answer.