My service account as guest user in google shared drive. My issue is ,guest not able to add new folder in the gdrive - google-drive-api

My service account as guest user in google shared drive. My issue is ,guest not able to add new folder in the gdrive.
I set the user as guest. He can't creat a new folder under the drive location

Related

Google Drive Shared Drive access permissions user access restricting

Can a google drive folder within a 'Shared Drive top level folder' have different user access permissions from its parent users? For example Jane has access to the Shared Drive folder 'Office'. Within the Shared Drive Office there is a folder 'HR applications' Jane should not have access to. Can it be done and if so, how?

Apps Script Service Account Ownership Issue

I encounter the following problem:
An external app is using a service account to copy Google Sheets from a template folder to a shared drive.
After the copy the apps script that is in the Google Sheet is still owned by the service account and can't be run be anyone else.
When a user copies the file once more, the script can be run by the user.
So why is the ownership of the script still the service account while the Google Sheet resides on a shared drive and the shared drive is the owner of the GS?
How can we transfer ownership of the script (not the GS) to the shared drive? or is there another solution?

Transfer Google doc files in google drive to another domain

Ownership is not transferable from #google.com to another domain.
anyway to migrate the 15GB free drive account to a workspace business account?
(must include the google doc files)
trial
Even if the 15gb account is granted content manager, folder in 15gb account still cannot move to shared drive of the workspace account
reason doc "" You can only move folders owned by a user in your organization.""
I'd do the following:
Make a shared drive on your Workspace account.
Give Content manager permissions to your free account.
Copy or move the files to the drive.
Move the files to your new account root folder.
(optional) Remove the shared drive, or revoke your free account's permissions to it.
Alternatively, since you have a Workspace account, you can contact Workspace support.

How multiple users in a Web Application can access the single Google Drive using Google API

I have a web application which will create users. And I have a single Google Drive. Once a user is create a folder will be assigned to that user in that Google Drive. That user can access only the folder allocated. Every time the user logs in from the web application the files within the allocated folder are able to view and the user can also upload and download files to that folder only. How this is achieved using Google API.
To start with you are going to need a create a service account for your application. The application will own the google drive account.
https://developers.google.com/accounts/docs/OAuth2#serviceaccount
Then your application is going to have to create the directory for the new user and associate the user with the directory's fileid (remember directorys are just files in google drive) the directory name could change so save the file id not the directory name to be sure.
Then it should simple be a matter of your appilcation uploading / viewing the files to the correct directory depending upon who is loged in. Since you will have the id for the directory it will be easy enough to list them the files already in that directory. as well as uploading directly to that directory.

Google Drive SDK: To copy files from a user to another user via Domain Super Administrator access right

Say, I am a Domain Super Administrator. And, there are User A (source - files to be copied from) and User B (destination - files to be copied to). Is there any Google Drive SDK API available for this feature?
When I read this: https://developers.google.com/drive/v2/reference/files/copy, this API allows only to copy into my own Google Drive.
Please help. Thanks.
Use domain-wide delegation to impersonate each user https://developers.google.com/drive/delegation.
Authenticate as source user and share file with target user https://developers.google.com/drive/v2/reference/permissions/insert
Authenticate as target user and copy source file to produce target copy of file owned by target user https://developers.google.com/drive/v2/reference/files/copy