How to protect ranges per specific users in google sheet?
问题 I am trying to apply protection on all sheets and certain ranges using a google script, for every sheet in its workbook (and can be applied on new added sheets via a trigger later) the problem is, I want to assign different ranges to different users after protecting the whole sheet from anyone, but the people allowed to edit on their ranges! I can't seem to know why it doesn't work.. It works oppositely , allowing all users to edit all ranges but the protected ones. I want the first editor to