How to give access for review Google App Script web page? - google-apps-script

I'm create Google App script web page and i share link with my friends. that request access for view page. I received this mail for my friend.
However i cannot give permission for friend. after press "Open sharing settings" it open my script but there hasn't any changes.
This can be reason of Google drive Access problem,
This can be reason of Google Sheet Access problem,
This can be reason of G Mail authentication problem,

Related

I want to complete the verification of the Google Apps Script

I am creating and hosting a web app with Google Apps Script(html). The screen of 'Unverified app screen' is displayed.
Google workspace is not used.
With over 100 users, access to the app is now blocked.
https://developers.google.com/apps-script/guides/client-verification?hl=en#applicability
I'm trying to request verification of the app by referring to the following article, but I'm stumbling on the confirmation of ownership of Apps Script in step 1.
※google cloud platform project has already been created, and is linked to the Apps script project.
Is there a way to check the ownership of a web page launched with Google Apps Script using the Google search console?
They need to click on the unsafe link and authorize the script.

Unable to access spreadsheet which is published to the web from appscript

I've written a app script(web app) to access spreadsheet and display it's content based on search criteria.
Web app should display content based on given name
It is working fine with my own gmail account. But when other users(given access for app script web app) tried this app they're seeing error as
"Exception: You do not have permission to access the requested document." It is throwing an error when SpreadsheetApp.openById(spreadsheetId) is executed.
By giving an explicit access(sharing with user) to the spreadsheet, he is able to access the data without any issue.
But as spreadsheet is already published to the web to access by anyone, why should it required again an explicit access to execute spreadsheet.
Is there way to access spreadsheet data without sharing it with the end user? Thank you in advance for the help.
I understand that you published a web app that opens a certain Sheet. In the "Deploy as web app" menu (opened from the Apps Script editor and selecting Publish ⮞ Deploy as web app) you would have been asked to determine how to "Execute the app as". You can choose between these values:
Me: every web app user will open the Sheet as yourself.
User accessing the web app: every web app user will open the Sheet as themselves.
As a consequence of the second case, the users would need previous access to be able to open the Sheet. Since you want to give them access no matter what, I recommend to use the first option. Please, ask me any additional doubt.

How to publish google apps script website

I wrote a simple Google Apps Script to launch google website. Its integrated with google sheet to get data from it. If I press publish button on the menu it works well. However, I pasted the url into another browser which has not same session with google apps script editor it is not working while attempts login to google.
The google account is not for google play developer. Should I register my google account as google play developer?
You have to set your Web App "Who has access to the app:" property to "Anyone, even anonymous".

How can I stop a google-apps-script from running on a suspended Google Apps account?

Years ago I setup a Google Apps Script to allow me to "snooze" emails in Gmail. I have recently closed that Google Apps account. I am now simply forwarding all emails for that domain to another account that I have. I forgot to stop the Google Apps Script before closing my Google Apps account. I am now getting App Script Notification emails telling me that my Google Apps Script has recently failed to finish successfully. But, I do not see a way to stop this script from running.
To stop Apps Script from accessing your data, you need to revoke it's access.
Here are the steps on how to do that:
Visit the permissions page for your Google account. (To navigate to this page in the future, visit Google.com, then click your account picture in the top-right corner of the screen. Next, click Account, then Security, then View all in the account permissions section.)
Click the name of the script whose authorization you want to revoke, then click Revoke access on the right.
Check also this page for more information.

Google Site Apps Script

I have created an approval workflow in Google Sites. When I submit a request to a manager.
He approves the request from the GMail Approve button, but it displays an error that he doesn't have permission:
I have shared my Google Site to him, and he can edit this Google Site:
But why couldn't he approve the request from the GMail Approve button?
I found that if I create a script from Google Drive, there is a Share button, but if I create Apps Script from Google Sites, there isn't a Share button:
How could I do this? How could the manager use this Google Site approval workflow?
How does the script run and who had access to it. There are 3 (or4) access levels for any web app - only you, anyone in the domain, anyone, anyone including anonymous.
Have you set the appropriate access permission for your app.