r/GoogleAppsScript • u/Current_Tune_3625 • Sep 13 '26
Question Restricted access drawing button
I have a great order submission, database with daily email triggers. The functionality is on point, manager facing page all formulas working perfectly, database carrying over previous day data, clear the contents, recording into data base, updating date, and auto firing the email with the proper trigger setting. All Working perfect
Well working great for me the owner, but editors cannot get past the restricted access to run the script. The submit button is a drawing linked to an app script with error prompts to avoid duplicate submission etc.
I currently have a checkbox that bypasses the editor access and runs the script under the owners permission. Just to get by, but I hate it, the user are not tech savvy whatsoever, and the check box does not notify the user the script is running and will not produce any error messages, and look unprofessional
Please advise
View all comments
Show parent comment
1
u/Current_Tune_3625 Sep 13 '26
Ok I’ll look into that, the problem is; there are two different permissions for the email trigger and submit drawing button, the only way currently is to have them click the drawing button, allow permissions, but we still run into a restricted access with the script and the only way to fully authorize is to actually open up extensions and Manuelly run the script, then a different allow prompt comes up. My mangers can’t honestly do this. I want a simple one prompt select all allow, it’s not a script writting error.
I hate the check box solution because any submission error prompts do no come up and the user dosent get the piece of mind the script is running. the check box, you hope and pray it works and like 8 seconds later the script runs exactly as designed, but no error messages(you did not complete all data in qty submitted) I’ve used the other alternatives an HTML wed address that open the script in new web tab with a submission button. Which works great but I want to clean up the user experience to be more seamless