<@U29QCJQF3> if I could prevent that one I think N...
# suitescript
m
@michoel if I could prevent that one I think NetSuite would be trying to hire me haha
m
These things should really be controlled through the form or record permissions though
m
true enough, defeated with my own words
m
A challenge is if you want to lock down certain fields on a built in record. For example I want to give sales reps / customer service edit permission on customer records, but not allow them to change financial fields like credit limit. I am currently using a workflow to lock the fields but it wont prevent them scripting etc... I suppose the real solution is to remove edit access to the field, and create a suitelet with "Run as Role" permissions that allows them to change the fields they should have access to.
Until a couple releases ago, if they had file cabinet permission then they could just edit the script file and have it run with the elevated permissions. NetSuite tried to tighten that up with a separate permission for JS/HTML files, but it broke something so I had to give that to a lot of users as well.