title: Google Apps Script - Editors Execute Script on Spreadsheet
body: <p>I created a Google spreadsheet to help my team keep track of their calendar for the upcoming week.  The spreadsheet has 2 tabs:  an "Overview" tab and a "Details" tab. On the "Details" tab, the top row lists all of the weekdays through the end of the year and the left column lists the team members names.  For each day, the team member writes what school they will be at and the description of support.  </p>
  
  <p>The "Overview" tab has the same structure as the "Details" tab (i.e., dates across the top and names listed on the left), but provides a visual summary of where each person will be.  I wrote a script that takes the school name from the "Details" tab and enters it in the cell that corresponds to the correct person/date on the "Overview" tab.  Then it takes the description of support and creates a Note on the "Overview" tab with the description.  It also shades the cell on the Overview tab so I can see that support is planned.  So from the "Overview" tab, all I have to do is mouse over the cell and it will show me the planned support.</p>
  
  <p>It works great in my own account.  However, I have shared the spreadsheet with some team members and it is not working.  I don't want my team to be able to edit the "Overview" tab because I only want them to input their information on the "Details" tab.  If I give them editing rights to the "Overview" tab, then they can change the Notes, cell colors, sheet structure, etc (that is why I want the Overview tab as view-only).  So, I protected the "Overview" tab so they cannot make edits.  However, because they cannot edit this sheet, it seems that the script will not run and update the Overview tab when they edit the Details tab.  I assume this is because they don't have permission (because the sheet is protected). When I remove the sheet protection, the script runs just fine for them.</p>
  
  <p>Any thoughts on how I can get around this?  I really need to keep the Overview tab View-only.  Thanks.</p>