I’m encountering issues with the Vicarious Emails ...
# suitescript
j
I’m encountering issues with the Vicarious Emails permission, because I have a UE script that sends from a “notifications” employee that we have set up, but sometimes the UE script is executing for the
- System -
user. How can I add the Vicarious Emails permission to the
- System -
user?
m
I'm surprised that the
- System -
user doesn't have that permission by default. My only immediate thought would be to set the UE script to run as a specific role that has that permission, but that potentially gets into other permission/security questions - not sure if that's a concern for your use case here.
j
Yeah I’ll do that if I have to, but obviously would prefer not to
I wish there were a way to run just certain sections of code as a particular role
m
Agreed