I am managing Google spreadsheets for 100+ schools. Each school's spreadsheet has multiple user roles (e.g., principal, coach, teacher, etc.) for which I need to restrict access and only allow people to edit certain ranges. Programmatically protecting the ranges would be the easiest solution, but unfortunately, it is not possible to do that at this time with Google Apps Script.
Last year when I did this, I created a template that included all of the protected ranges. Then I copied the template 100+ times (which kept all of the range protections). Then I added users programmatically and gave them "Comment Only" access. Then I changed their access to "Can Edit" and manually gave them access to edit only the ranges that they needed. This process only gave them editing access to the ranges that I manually changed, while keeping them "Can comment" access for the other ranges (that I wanted protected). While tedious, this worked fine because there were a lot more ranges that were protected than editable for most users...so remaining as "Can comment" for the other ranges was convenient.
This year I am trying to do the same thing. I have protected the ranges on the spreadsheet and added my users with "Can comment" permissions. However, when I change the users to "Can edit" access, they can edit everything (including the protected ranges)! It seems that this is the default functionality. Now I have to go into each range and remove editing rights. Last year for each range I only had to grant editing rights for a small number of users...this is going to be much more time-consuming if I cannot find a work-around.
Does anyone know of a workaround for this? Is this a product of Google Spreadsheets 2.0 (last year I used the old version of Google Sheets)?
Thanks.